Tech article

Rails Is a JIT Compiler

Hacker News | Oct 21, 2026 | hellerve

Automated excerpt

I don’t know anything about Rails so I nerd sniped code << "def #{value_method_name}? ; #{name}_for_database == #{value. inspect}; end" Floats. But you’re still here, so I’ll repeat the numbers here. aaron@Aarons-MBP ~/g/rails (main)> ruby -I~/git/ips/lib test. rb shippable? : 1. 721M i/s (± 2. 3%, GC 4. 4%) aaron@Aarons-MBP ~/g/rails (main)> ruby --yjit -I~/git/ips/lib test. rb shippable? : 3. 568M i/s (± 2. 6%, GC 8. 2%) aaron@Aarons-MBP ~/g/rails (main)> ruby --zjit -I~/git/ips/lib test. rb shippable? : 3. 812M i/s (± 2. 8%, GC 8. 9%) aaron@Aarons-MBP ~/g/rails (fix-enum)> ruby -I~/git/ips/lib test.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

Read next

AI briefing: recent picks

More stories to explore