3 ms·
I didn't know Ruby has three different JITs
by lloydatkinson 11mo ago
I didn't know Ruby has three different JITs
- hartator 11mo agoYes, specially ZJIT is news to me.
- rurban 11mo agoYou can ignore it. It's just that the Japanese cannot allow an external jit dominate, and so they came up with a much simplier tier 0 method jit, which will never be able to surpass Maxime's yjit.
- shevy-java 11mo agoMostly the newer ones try to improve the older ones. I guess at some later point one will dominate and the others will go sleep mode. Just like in the movie Highlander - there can only be one. (I couldn't name offhand which JIT is the main one right now ... I always think it is from Takashi Kokubun but that may now be outdated. MJIT YJIT ZJIT HUJIT WAJIT WTFJIT GRANDMAJIT - too many JITs.)
- Lio 11mo agoI was actually hoping it would be four JITs and we'd get Tenderlove's tiny FFI JIT too. https://railsatscale.com/2025-02-12-tiny-jits-for-a-faster-ffi/ https://railsatscale.com/2025-02-12-tiny-jits-for-a-faster-f...
- pjmlp 11mo agoIt actually has several more, if you take into account JRuby + all JVM implementations (OpenJDK based distros, OpenJ9, Azul, PTC,...), ART even if not JVM proper with Ruboto, and TruffleRuby on GraalVM.