The story’s score and claims

Comments on No. 19 of 106 · makepad.github.io · edition of Thursday 12 November 2026

Relax: JIT compiler for Rust to reduce build times

Summary

Makepad's Relax is a JIT runtime for Rust, written in Rust, that runs a Cargo package from source with no rustc, LLVM or linker. On an M4 MacBook a large 3D game reaches its first frame in 11 s (1.15 s on rerun), versus about 3 minutes of building with rustc, and saving a file patches changed functions into the running program. By the authors' own measurements, optimised code is 1.14–1.26× slower than native-CPU --release, 2.3× on dense numeric loops, and a broader run is being re-measured.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules