Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

monoruby

monoruby is a Ruby implementation written from scratch in Rust, featuring a register-based bytecode VM and a just-in-time (JIT) compiler for x86-64 and aarch64 (Apple Silicon). It is fast — comparable to CRuby with YJIT/ZJIT on many benchmarks — and has no dependency on any other Ruby runtime.

This site documents monoruby’s internals.

  • The Architecture section contains overview pages: start with the Architecture Overview.
  • The Design Documents section renders the full design documents from the repository’s doc/ directory (some are written in Japanese, as marked).