"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
"This article will highlight the ways we are ensuring correctness in the #Wasmtime #WebAssembly runtime and in its compiler, #cranelift "
https://bytecodealliance.org/articles/security-and-correctness-in-wasmtime
The acyclic e-graph: Cranelift's mid-end optimizer
https://cfallin.org/blog/2026/04/09/aegraph/
#HackerNews #acyclicgraph #Cranelift #optimizer #programming #Rustlang #technews
A Function Inliner for Wasmtime and Cranelift, https://fitzgen.com/2025/11/19/inliner.html.
A great article about the new function inliner inside Cranelift. The article mentions a nice algorithm to partially keep parallelism during the compilation time for the inliner (that’s the most interesting part).
Profiled my JIT Rust aarch64 emulator:
- Around 7-8% of time is spent executing translated guest code
- #cranelift codegen takes 45.7% of time
- its register allocator, regalloc, takes an additional 19%
- Basic runtime logic such as MMU virtual address translation takes only 2% (with TLB caching)
This results in taking almost 40 seconds to boot to Linux prompt. QEMU takes a few seconds.
Replacing the JIT is tempting...
As a maintainer of the GCC register allocator (RA), I naturally have a keen interest in the register allocators used in various industrial compilers. For some compilers, like LLVM and Cranelift, there is sufficient documentation, including papers and presentations, to gain a deep understanding of their register allocators (RAs).
Exception handling in the Rust compiler: a blog post by @bjorn3 on support for unwinding on panics in the Cranelift backend.
A walkthrough of the implementation: https://tweedegolf.nl/en/blog/157/exception-handling-in-rustc-codegen-cranelift
Roto is written in Rust, has Rust-style syntax, and plugs straight into Rust apps.
Terts will be showing how it works, how to use it, and why they built it in the first place. Catch him at #EuroRust25 ➡️ https://eurorust.eu/talks/roto-scripting-language/?utm_source=mastodon&utm_medium=social&utm_campaign=25-06-27-speaker-terts-diepraam
#RustLang #Cranelift #Scripting
🧵2/3