Re:For Better Computing, Liberate CPUs from Garbage Collection
by wbl on Thursday May 09, 2019 @11:20AM
(#19869061)
Reference counting is a garbage collection algorithm. It just isn't a very good one compared to semi space because its runtime is the number of dead objects not live objects.
[ Parent
| on HN ]
Re:For Better Computing, Liberate CPUs from Garbage Collection
by cyphar on Thursday May 09, 2019 @09:54PM
(#19874381)
Refefence counting is barely classifiable as garbage collection. The runtime is O(1) because you free the object immediately when it dies, there's no stage where you start looping over dead objects.