Breaking the Ruby Performance Barrier
summary
Y JIT ships in Y 3.3 with better defaults and lower memory; GitHub reports ~15% speedup and some gems see up to 20%, and Y 3.4 adds core string/byte optimizations that speed some paths ~14.5%. A pure-Ruby protobuf generator (Proto) starts 7.43x slower than Google’s C lib on naive decode but becomes 2.36x faster when comparing real field reads and up to 9.45x faster with Y enabled. Generated Ruby parsing code and targeted JIT tweaks eliminate many C-extension tradeoffs.
AI-written summary · about
chapters (6)
- 0:00Intro
- 3:34History of Supersonic Flight
- 8:11Why write C extensions
- 10:21Writing pure Ruby gems
- 11:39ProtoBuff
- 16:55Looking Forward








