Ruby Lands New "RJIT" Just-In-Time Compiler

RJIT is intended to replace MJIT and it's a pure-Ruby assembler to generate native code - thus not requiring a C compiler like MJIT at run-time nor a Rust compiler at build-time like with YJIT. RJIT's warmup is currently slower than YJIT but faster than MJIT.
RJIT is generating code similar to YJIT. In major benchmarks RJIT is outperforming MJIT but "nowhere near YJIT" in its current form.
This new JIT compiler for Ruby has been merged via this pull if interested in all the technical details and benchmarks on RJIT.
13 Comments