Re:Garbage Collection is Wrong
by danbruc on Thursday February 27, 2014 @05:35PM
(#7315738)
But you don't know which reference is the last until you actually get there - that is why you used reference counting in the first place, because you were unable to statically determine which reference will be the last one. So every time you abandon a reference it might be the last one and you might have to spend extra cycles to free the resource. This is no more deterministic than a garbage collector.
[ Parent
| on HN ]