4 ms·
I think it's both fair to say that reference counting is a form of garbage collection (dynamic lifetime determination is dynamic lifetime determination), but al
by kibwen 10y ago
I think it's both fair to say that reference counting is a form of garbage collection (dynamic lifetime determination is dynamic lifetime determination), but also remark that reference counting has notably distinct performance characteristics (some good, some bad) compared to a tracing collector.
- pjmlp 10y agoBoth being GC algorithms, what one should discuss is implementation advantages and disadvantages of each algorithm. Just like sorting or graph navigation algorithms get discussed, for example. However somehow we get this pop culture of GC vs RC instead.