Get the latest tech news

Incremental Garbage Collection in Ruby 2.2 (2015)


This article introduces incremental garbage collection (GC) which has been introduced in Ruby 2.2. We call this algorithm RincGC. RincGC achieves short...

This simple and effective algorithm (and a conservative GC technique) allows C-extension writers to write extensions easily. However, in the beginning, having many extension libraries and providing many features through C-extensions was a big advantage and made the Ruby interpreter more popular. There is one big issue to implement incremental marking in the Ruby interpreter (CRuby): the lack of write barriers.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of ruby

ruby

Related news:

News photo

Ruby on Rails continues to thrive

News photo

Show HN: Io_uring for Ruby

News photo

Sequel: The Database Toolkit for Ruby