Topaz Ruby
summary
Topaz is a Ruby VM written in RPython that translates to C and generates a custom meta tracing JIT specific to the Ruby bytecode it runs. It currently passes about 5,000 ruby spec core expectations, implements costly Ruby features like full binding, set_trace_func and objectspace, and runs large parts of the core library in Ruby because the JIT optimizes them aggressively. Missing pieces include encodings, native threads, fibers and C extension/FFI support.
AI-written summary · about
chapters (13)
- 0:00Introduction to Topaz
- 1:02What is Topaz
- 4:54Why create Topaz
- 7:01RPython explained
- 8:46Topaz architecture overview
- 10:13Current status and specs
- 13:50Project size and benchmarks
- 14:33Live benchmark demo
- 16:01Implementing fixnum divmod
- 21:21JIT optimization deep dive
- 27:25Topaz performance goals
- 28:25Call for contributors
- 29:07Q&A session
