Overview
Explore the development of YJIT, a new JIT compiler for CRuby, in this 30-minute conference talk from RubyConf 2021. Dive into the world of Ruby JITs, including TRUFFLE RUBY and its impressive performance improvements for Ruby Regexps. Learn about lazy basic block versioning, run-time value promotion, and the challenges of optimizing Ruby. Discover how to try YJIT, understand its current limitations, and maximize its performance. Gain insights into future plans for YJIT and the collaboration with Ruby core developers to enhance CRuby's performance.
Syllabus
Intro
Program
The Space of Ruby JITS
TRUFFLE RUBY
Language Compatibility
Ruby Optimization Challenges
Lazy Basic Block Versioning
Two Key Components of Lazy BBV
Run-time Value Promotion
Re-engineering CRuby
Ideas to Improve CRuby Performance
How to Try YJIT
Expectations & Limitations
Maximizing Performance with YJIT
Future Plans
Collaboration with Ruby Core Developers
Conclusion
Contact & More
Taught by
Ruby Central