Parts of CRuby (MRI) are now written in Rust, specifically in the YJIT just-in-time compiler introduced in Ruby 3.1. YJIT compiles Ruby bytecode into native machine code at runtime and is implemented largely in Rust, which provides low-level control with memory safety guarantees C cannot offer. The rest of the Ruby runtime β
β’4m read timeβ’ From rubystacknews.com

Table of contents
Where Rust Is Actually Used: YJITWhy This Component?A Glimpse of Rust Code in Ruby CoreHow Rust Integrates with the C RuntimeWhy This MattersNot a Rewrite β A Strategic AdditionA Quiet but Meaningful ShiftFinal ThoughtsShare this:RelatedSort: