~/talk

Modular Garbage Collectors in Ruby

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, compilers-and-language-design]
slides:none on file

Experimental Ruby 3.4 modular GC exposes a C API (about 60 functions across 14 sections) by splitting GC.c into a VM interface and loadable GC implementations; the default GC becomes a shared library and MMTK (written in Rust) plugs in via C and Rust bindings. Current MMTK port implements no-GC, mark-sweep and non-moving Immix, builds with cargo, and runs slower than the default GC today; roadmap adds moving plans, generational support, and parallel work-packet execution.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:28Ruby’s garbage collector overview
  3. 8:28Missing features in Ruby GC
  4. 14:31Motivation for modular GC
  5. 15:34Modular GC in Ruby 3.4
  6. 16:58Modular GC API explained
  7. 20:25Building Ruby with modular GC
  8. 20:46MMTK garbage collector
  9. 23:54MMTK integration with Ruby
  10. 27:04Conclusion and future
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.