The Rails Changelog cover image

025: Rails, Compilers & Profilers with Aaron Patterson

The Rails Changelog

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner