The Rails Changelog cover image

025: Rails, Compilers & Profilers with Aaron Patterson

The Rails Changelog

00:00

Exploring JIT Compilation and Profiling in Ruby

The chapter delves into JIT compilation in Ruby, discussing compilers like TenderJIT, RJIT, MJIT, and Y JIT. It explains the evolution of TenderJIT from lazy basic block to method-based compilation, highlighting the efficiency of Lazy Basic Block Versioning. The conversation also covers the updates and improvements in YJIT, including enhancements in Ruby 3.2 for ARM 64 platforms and the plan to enable YJIT in Rails 7.2 for Ruby 3.3 and above, with a caution on memory constraints for optimal performance.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app