3 ms·
Obviously you could implement any algorithm using reference counting instead of garbage collection. The question is whether or not you really want to pepper you
by jonathanyc 11y ago
Obviously you could implement any algorithm using reference counting instead of garbage collection. The question is whether or not you really want to pepper your code with what is essentially manual memory management when necessary.
- throwa990323249 11y agoARC languages are Turing complete, but some algorithms require more than just "peppering weakrefs" and actually require you to essentially build your own GC.