3 ms·
>> "Go's new garbage collector is a concurrent, tri-color, mark-sweep collector" So basically, it's the same GC that Mike Pall had planned to implement for Lua
by alberth 11y ago
>> "Go's new garbage collector is a concurrent, tri-color, mark-sweep collector"
So basically, it's the same GC that Mike Pall had planned to implement for LuaJIT 3.0. Too bad Mike recently announced he was transitioning away from doing daily LuaJIT work.
http://wiki.luajit.org/New-Garbage-Collector http://wiki.luajit.org/New-Garbage-Collector
- eloff 11y agoActually he wanted to use a quad-color implementation, which AFAIK is a Mike Pall tweak of a tri-color collector.
- tedunangst 11y agoActually, it's the same GC already used by Lua and Luajit. Read the note at the end of the section on tri-color collectors?
- sriram_malhar 11y agoOCaml's collector has also been the three color variety (4, including a color for a free list). But it hasn't been concurrent, which is the non-trivial part.