"Ruby JIT Compilation"
summary
Covers JIT approaches tested for Ruby 2.6: JRuby+Truffle, LLVM-backed implementations and native efforts like MJIT and LLRB. Benchmarks use a 30M-count loop and optcarrot; plain Ruby hits ~2k instructions/sec, older JITs reach ~5.5k and the merged lrb branch ~6.5k on that microbenchmark. The merged LLRB code compiles to C/ASM, can launch Rails without failing, and lands on trunk for the Ruby 2.6 pre-release; debuggers require inspecting generated C or using gdb.
AI-written summary · about
