2 ms·
Reference counting is a kind of garbage collection (taken broadly), but it's quite different from tracing GC.
by zozbot234 6y ago
Reference counting is a kind of garbage collection (taken broadly), but it's quite different from tracing GC.
- jashmatthews 6y agoNaive use of RC doesn't look like tracing much but as soon as you need cycle-aware RC like the CactusRef the algo looks a lot like tracing GC https://github.com/artichoke/cactusref#cycle-detection https://github.com/artichoke/cactusref#cycle-detection