Ruby Core Updates: Concurrency Bugs and JIT Speedups
A cluster of fixes targeted subtle concurrency bugs across Ractors, fibers, and just-in-time compilation, while several ZJIT and YJIT changes chipped away at object allocation and shape lookup overhead.
Duration: PT2M29S
Episode overview
This episode is a short developer briefing from Ruby Core Updates.
It explains recent repository work in plain language.
- Show: Ruby Core Updates
- Published: 2026-07-16T13:09:10Z
- Audio duration: PT2M29S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good morning. It's July 16th, and today's Ruby activity centers on two threads: fixing hard-to-reproduce concurrency bugs, and squeezing more performance out of object allocation.
Start with concurrency. Shugo Maeda fixed a data race in the instruction sequence cache, reachable when Proc refined dumps the same iseq from multiple Ractors — PR 17923 builds the buffer locally and publishes it with a compare-and-swap instead of exposing it before it's ready. He also landed a fix for cloned…
Second theme: allocation performance. Matt Valentine-House's PR 17770 inlines string duplication into the GC fast path, roughly doubling throughput on string-dup benchmarks, and a follow-up commit adds a field-init hook so types needing initialized fields can safely use that fast path too. byroot's PR 17892 removes…
Also notable: jhawthorn's Ractor.make_shareable speedup, PR 17910, and Time.at with a zone argument getting 1.8 times faster, PR 17906.
What to remember: if you're touching setjmp or Ractor object transitions, review PR 17931 and 17909 — the audit trail there is worth reading. And expect continued fast-path GC work from the ZJIT team.
That's the briefing for July 16th. Build safely.
Nearby episodes from Ruby Core Updates
- Correctness Fixes Take Center Stage
- Edge Case Cleanup Across the Interpreter
- Fiber Safety and Runtime Introspection
- JIT Stability and the Longjmp Problem
- Object Layout Cleanup and Concurrency Hardening
- Object Layout Overhaul and ZJIT's Inlining Push
- Weekly Recap - Concurrency Hardening and ZJIT Performance Push
- Windows Build Cleanup and CI Stability