ZJIT: Building a Next Generation Ruby JIT - RubyKaigi 2025
05-Mar-2025 33
RubyKaigi 2025, #rubykaigi
YJIT can make Ruby code run faster, but this is a balancing act, because the JIT compiler itself must consume both memory and CPU cycles to compile and optimize your code while it is running. Furthermore, in large-scale production environments such as those of GitHub, Shopify and Stripe, we end up in a situation where YJIT is compiling the same code over and over again on a very large number of servers, which seems very inefficient.
In this presentation, we will go over the design of ZJIT, a next generation Ruby JIT which aims to save and reuse compiled code between executions. We hope that this will help us eliminate duplicated work while also allowing the compiler to spend more time optimizing code so that we can get better performance.
ZJIT: Building a Next Generation Ruby JIT - RubyKaigi 2025 #ruby #rubydeveloper #rubyonrails #ZJIT: #Building #Generation #RubyKaigi https://rubyonrails.ba/link/zjit-building-a-next-generation-ruby-jit-rubykaigi-2025