Ruby Garbage Collection in Under Two Hours

$29.00 USD

Welcome to Ruby Garbage Collection in Under Two Hours!

In this ebook, we'll learn all about how Ruby garbage collection works: from discussing Ruby's memory layout to distinct strategies its garbage collector uses. It's possible to program in Ruby for years without ever actually deeply understanding how Ruby garbage collection is seamlessly managing memory behind the scenes. This ebook will pull back the veil on Ruby garbage collection.

We'll cover the Tri-Color Mark and Sweep algorithm, generational GC, incremental GC, compaction, and the future of Ruby garbage collection. The ebook assumes basic familiarity with the Ruby programming language.

For a preview, please download a sample! The sample includes the introduction, table of contents, and parts of the first two sections of the ebook.

๐Ÿ“– What's included in this purchase?

  • A zip file containing PDF and EPUB versions of the ebook, complete with diagrams and code snippets
  • Every future version of the ebook at no additional cost

๐Ÿ‘‹ About me

I'm Jemma, a backend Ruby developer. I've written extensively about Ruby garbage collection in a blog post series, and also given a talk about it at RailsConf 2021. I write the Tip of the Week for Ruby Weekly, am a rotating co-host of The Ruby on Rails Podcast and a founder and organizer of WNB.rb, a women/non-binary Ruby group.

๐Ÿ’Œ Contact

Feel free to contact me with any questions at If the cost of this ebook is a barrier to your learning, please reach out via email.

or download a sample