Ruby Core Updates: JIT Compiler Optimizations and Bug Fixes

Seven pull requests merged on April 2nd and 3rd, primarily addressing YJIT and ZJIT compiler issues, stack overflow problems, and AST parsing bugs. Additional commits focused on test reliability improvements across Windows and macOS platforms.

Duration: PT2M

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-04-03T10:01:35Z
  • Audio duration: PT2M

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning. This is Ruby Core Updates for April 3rd, 2026.

Seven pull requests were merged yesterday and early today, with significant focus on JIT compiler improvements. XrXr merged a critical YJIT and ZJIT fix that sets optimization level to 1 on development builds to prevent SystemStackError issues. This change also reverted three test exclusions for OpenURI components…

Andrii Furmanets resolved bug 21974, fixing a crash in RubyVM::AbstractSyntaxTree when inspecting top-level constant assignments like "::Foo = 1". The issue occurred because the code assumed all constant declaration paths used NODE_COLON2, but top-level assignments actually use NODE_COLON3.

Takashi Kokubun contributed two important JIT-related fixes. First, he updated ZJIT to use CFP_PC in warn_unused_block for outlined program counter handling, preventing garbage PC values from interfering with warning deduplication. Second, he fixed YJIT callbacks to stop checking rb_zjit_enabled_p, which was causing…

John Hawthorn backported K&R function definition conversions to the 4.0 branch, addressing CI failures. Nobuyoshi Nakada fixed a file handling issue in Prism compilation, ensuring open files are properly closed…

Kok…

Nearby episodes from Ruby Core Updates

  1. Weekly Recap - Performance Optimizations & Bug Fixes
  2. Development Tool Reliability Fix
  3. Weekly Recap - ZJIT Performance and Infrastructure Improvements
  4. ZJIT Performance Optimizations
  5. Ractor Fixes and JIT Improvements
  6. Memory Management and JIT Improvements
  7. ZJIT Performance Improvements and GC Optimizations
  8. CI Infrastructure Improvements