Re:Show HN: A pure reference counting GC in Go
by zozbot234 on Wednesday January 15, 2020 @06:07AM
(#22053274)
There are concurrent GC's that don't pause all threads while running garbage collection. Plus the whole point of GC is that it's what you use when you just don't know at runtime which operations should involve "allocation or deallocation" of objects. From the POV of tracing GC, any "new" reference to an object might be the reference that extends its lifetime and prevents it being collected, and conversely when removing a reference.
[ Parent
| on HN ]
Re:Show HN: A pure reference counting GC in Go
by imtringued on Wednesday January 15, 2020 @06:41AM
(#22053404)
Those GCs are special exceptions. Most modern GCs just aim to have bearably low pause times.