Ruby.inspect
summary
Shows concrete Ruby internals and tools: introduces generational garbage collection (RJGC) that speeds marking up to ~50× and yields ~10% app gains, and symbol GC that lets dynamically created symbols be reclaimed; demonstrates TracePoint with binding objects to count deep recursive calls (tarai) and inspect parameters, and uses object_space.dump plus object-allocation tracing to build interactive graphs of object reachability that actually work.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:20Ruby Association overview
- 7:55Ruby 2.1 features
- 12:30Ruby 2.1 performance
- 14:17Ruby 2.2 plans
- 17:13Why Ruby inspection is necessary
- 22:30Inspection primitives
- 25:23Object space dump
- 31:04Variables and methods
- 35:03Eval and GC stats
- 37:12TracePoint tracking
- 43:54Garbage collection
- 44:57Debugging with GDB
- 48:51Modifying interpreter
- 51:03Lower-level importance
related talks
42mDebugging Ruby
49mRabbit Hole: Garbage Collection and Ruby's Future
37mWhat’s happening in your Rails app? Introduction to Introspection features of Ruby
34mUnder the Hood of Ruby's Generational Garbage Collector
55mComplex Ruby concepts dummified
24mRuby Performance Secrets and How to Uncover Them
38mPractical Debugging
54mKeynote: Exploring Memory in Ruby - Building a Compacting GC
