~/talk

Rabbit Hole: Garbage Collection and Ruby's Future

Talkat Barcelona Ruby Conference 2013 · 2013-09-14..09-15· [ruby]
links:none on file
slides:none on file

Walks the C path from Foo.new through allocation macros (rb_class_allocate_instance down to the rb_newobj substitution), shows how Value macros and embedded strings change layout, and measures object churn: a tiny script creates 14,000 objects, a simple Rails app 280,000 objects. Traces and tools include heap layout, ObjectSpace, ctags and dtrace. Empirical claim: New Relic sees GC drop 80ms to 42ms after upgrades; structural fixes — bitmap marking and the generational GC in 2.1 — enable copy‑on‑write and substantial practical wins.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Garbage collection overview
  3. 3:29Performance motivations
  4. 6:33The garbage collector basics
  5. 8:58Object allocation lifecycle
  6. 10:52Navigating Ruby's C code
  7. 14:11Role of macros in optimization
  8. 17:20Understanding the heap
  9. 18:55Tracing object creation
  10. 23:34The mark and sweep process
  11. 27:42Modern GC improvements
  12. 30:29Future directions and resources
  13. 33:28Q&A session
~/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.