Ruby Core Updates: Length Type Migration and Refinement Super Fix

Ruby core moved aggressively to the R-B length type across core, default gems, and Y-JIT, with no behavior change today but protection against truncation on Windows. A separate fix unblocks super in module methods called through refinement super.

Duration: PT2M2S

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-10-10T13:09:48Z
  • Audio duration: PT2M2S

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 Saturday, October 10th, 2026, and this is Ruby Core Updates.

The lead signal is preparation at scale: Ruby is systematically replacing long and integer lengths with its portable length type, while also fixing super inside refinements.

First, the length-type migration. Five related efforts, including P-R 19288 for core and P-R 19289 across ten default gems, convert string and array lengths, positions, and indices to the R-B length type. A companion Y-JIT change in P-R 19282 updates how compiled code reads string and array lengths, so it won't see…

Second, refinements get more correct. P-R 18910, building on work linked to issue 18797, allows super in a module method called via refinement method super, which was previously prohibited. The fix lazily creates a refinement internal class with the correct superclass pointer, cached in a hidden weak map to avoid…

In other notes, a Ractor proposal would shift shareability work to the owning Ractor at publication points rather than traversing from non-owners, and the Ractor message basket was shrunk from 80 to 48 bytes. C-I also switched the S-H-S-T-K job to a mirrored container to avoid rate-limit failures.

What's next:…

Nearby episodes from Ruby Core Updates

  1. Breaking the Two Gigabyte Limit on Windows
  2. Weekly Recap - Length Types, Windows Y-JIT, and Built-in Prism
  3. 64-Bit Length Hardening and Regexp Stability
  4. Prism Built In, Length Safety, and IO Reliability
  5. New Length Type and JIT Performance Push
  6. Crash Hardening and Legacy Mac Cleanup
  7. YJIT Lands on Windows
  8. Linear Compiles, Faster Windows Builds, and Clearer GC Stats