3 ms·
It worked fine if you followed the rules. The trouble is that the rules were kind of annoying to follow and weren't automatically enforced at compile time very
by mikeash 11y ago
It worked fine if you followed the rules. The trouble is that the rules were kind of annoying to follow and weren't automatically enforced at compile time very well. More troublesome was the fact that a C collector necessarily needs to be conservative, and that means you lose out on nice advanced GC features like compaction.
- pjmlp 11y agoExactly, which was specially problematic with third party libraries. What proponents of ARC miss, is that Apple gave up on GC because they didn't managed to make it work with Objective-C semantics, not due to merits of RC over GC. Also Swift is also ARC based, because the goal is for a smooth integration with the Objective-C runtime, not due to merits of RC over GC.