3 ms·
Not at all. Go still uses a very primitive pre-80ies stop the world, non-compacting, mark & sweep collector. Stone aged. This paper describes a slightly impro
by rurban 6y ago
Not at all. Go still uses a very primitive pre-80ies stop the world, non-compacting, mark & sweep collector. Stone aged.
This paper describes a slightly improved version of Bakers classic two finger collector with generations, as used in all modern GC systems since the mid 80ies. Normally you just use two semi-spaces plus the generation region. This one uses much more generational regions, which was modern in the 80-90ies, but fell out if favor with modern vmm's. Swapping semi-spaces are so much faster. They claim better compaction, which is interesting. Lisp people, like LispWorks should know better, as they tried those things excessively.
- rurban 6y agoThought about it over night. The many regions part is what guarantees real-time, but is slower in non-RT settings. Semi-spaces might get too large and violate realtime latencies.