Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
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.