Stream: cranelift

Topic: Recent/up-to-date projects using Cranelfit?


view this post on Zulip Yorick Peterse (Oct 27 2022 at 16:02):

Does anybody know of any reasonably small/easy to understand projects that use Cranelift _and_ are up to date? Most of which I've found (e.g. https://github.com/Y-Nak/tiger-cranelift/) are a few years old and use older APIs. Basically I'm looking for something to use as a reference, but wasmtime itself is a bit too much to digest I think :)

Tiger language implementation using cranelift. Contribute to Y-Nak/tiger-cranelift development by creating an account on GitHub.

view this post on Zulip Afonso Bordado (Oct 27 2022 at 16:17):

:wave: Hey,

I do know of a few projects that use cranelift and use recent-ish versions:

There is also https://github.com/bjorn3/rustc_codegen_cranelift which is huge, so it might not be the best way to start out.

The RustPython jit is quite simple, but not very complete, however it might be easy to start out with

Cranelift based backend for rustc. Contribute to bjorn3/rustc_codegen_cranelift development by creating an account on GitHub.
A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Language for metaprogramming freaks. Contribute to jakubDoka/Catalyst development by creating an account on GitHub.
A JIT compiled language designed for realtime contexts - GitHub - DGriffin91/Sarus: A JIT compiled language designed for realtime contexts

view this post on Zulip Yorick Peterse (Oct 27 2022 at 16:20):

Thanks! I'll take a look :)


Last updated: Oct 23 2024 at 20:03 UTC