Ruby 3.0 JIT and beyond
29-Dec-2020 1358
Ruby 3.0 JIT is the fastest JIT ever for MRI. However, despite Ruby 3.0's big improvement in reducing i-cache misses, it's still not ready for optimizing Rails applications. Stay tuned for Ruby.As proposed by Eregon, we measured performance after 3000 frames to measure peak time performance with Optcarrot.Note that Ruby's JIT compiler methodology using a C compiler called "MJIT" was originally implemented by Vladimir Makarov. The JIT of Ruby 2.6 / 2.7 was slower than his implementation because we only partially merged his work and replaced the compiler to mitigate risks.I've implemented lots of optimizations in Ruby 3, and finally it performs better than his original version. Ruby 3 JIT is the fastest JIT which MRI has ever had, which of course couldn't be achieved without his great work.
Ruby 3.0 JIT and beyond #ruby #rubydeveloper #rubyonrails #beyond https://rubyonrails.ba/link/ruby-3-0-jit-and-beyond