Experimental · Relax is for development iteration. Use Rust itself (cargo build --release) for any release build.

Relax

Rust without the wait.

[ Relax vs cargo and rustc | The tradeoffs | What you get from a JIT | Try it | What it took | How Makepad uses Relax | Built for AI agents | Where LLVM still wins | Architecture | Repository layout | License | GitHub ]

Also on this site: the full page | 中文


rustc builds your program, then you run it. Relax runs your program while it builds it.

Relax is a live compiler and JIT runtime for Rust, written in Rust. It runs a Cargo package straight from source, with no rustc, LLVM or linker in the loop: it compiles each function when it is first called, optimises the hot ones while the program runs, and patches your edits into the running process.