Ruby 3 JIT can make Rails faster
I mean, Ive literally thought about optimizing Rails by MJIT for over 3 years, and Ive introduced several optimizations designed for such workloads. We do rely on GCC to ease our maintenance, but the reason why it optimizes some benchmarks is that it implements various Ruby VM-level optimizations that donât really depend on GCC, not just that it uses GCC. Most of RTL-MJITâs optimizations were already ported to or experimented with YARV-MJIT after we shuffled the code to make it work w...
Zeitwerk Tracepoint Noah Gibbs Twitter Developers Why Rails Not Improve Rails Not Improve Rails Performance
Source: medium.com