Down the rb_newobj() Rabbit Hole

96a846bf1220d8e02ee5b5040e825bb5?s=47 Chris Kelly
February 21, 2013

Down the rb_newobj() Rabbit Hole

Take a walk through the C internals from Foo.new through garbage collection in Ruby's MRI. We’ll explore the idiom and optimizations in the C source and leave you feeling comfortable to work in the code yourself. Once we arrive at the end of the rabbit hole, we’ll examine the garbage collection algorithms used in Ruby 1.8, 1.9 and 2.0.

96a846bf1220d8e02ee5b5040e825bb5?s=128

Chris Kelly

February 21, 2013
Tweet