3 ms·
reference counting is deterministic, GC isn't, which was always the apple engineers objection to GC - no pause while the collector runs.
by chadcmulligan 8y ago
reference counting is deterministic, GC isn't, which was always the apple engineers objection to GC - no pause while the collector runs.
- beureum 8y agoThere exist pauseless GCs, Apple's objection to GC is that GCs need more RAM, and that would reduce their profit margin on iPhones. A fair reason if you ask me.
- deleted 8y ago[deleted]
- fulafel 8y agoReference counting has pauses, as object deallocations cascade. You can address this by having a deallocation work list that runs a bit at a time, but then again there is also a large body of work on other kinds of GCs that address pauses.