Termsslug: lazy-function-compilation

Lazy Function Compilation

惰性函数编译

Compiling a function only when first invoked, avoiding full upfront builds.

Curated Intelligence

1 items · Page 1/1
Hacker News AIT2·Tools
78 pts
Relax Debuts Rust JIT Compiler Cutting Build Times to Seconds

Relax is a live compiler and JIT runtime for Rust from the Makepad team that runs Cargo packages directly from source, bypassing rustc, LLVM and the linker by compiling functions on first call and hot-patching edits into the running process. Benchmarks show a large 3D game's cold first frame dropping from roughly 3 minutes to 11 seconds, with warm runs at 1.15 seconds and state-preserving live patches.