~/talk

The AST Galaxy to the Virtual Machine Blues

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, compilers-and-language-design]
slides:none on file

Introduces an AST-based reusable optimization framework that uses astrogen to generate specialized C via subtree dispatchers, names AST subtrees with Merkle-hash subtree naming and relies on the system C compiler to inline and optimize. Builds ABRuby as a CRuby extension, implements AOT and profile-guided compilation, and reports Optcarrot results: YJIT ~4x faster, AOT ~1.7x faster than baseline, AOT build 23s and PGO 10s; prototype is produced in two weeks (one human + two AI) and cached runs are competitive with YJIT.

AI-written summary · about

  1. 0:00Introduction to AST project
  2. 2:21Speaker introduction
  3. 3:04Ruby implementation history
  4. 8:29Partial evaluation concept
  5. 12:29Lightweight partial evaluation
  6. 15:41AST framework workflow
  7. 19:50Demo of a bit Ruby
  8. 22:32ABRuby implementation
  9. 26:35Running modes and benchmarks
  10. 29:29Future work and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.