4 ms·
I think we will start to see less use of GCs in mobile going forward, especially now that Apple has deprecated GC in favor of automatic reference counting. The
by bd_at_rivenhill 11y ago
I think we will start to see less use of GCs in mobile going forward, especially now that Apple has deprecated GC in favor of automatic reference counting. The issues caused by the interaction between the memory hierarchy and the fragmentation that is naturally introduced by GC are difficult to measure, but nevertheless an important component of performance.
- pjmlp 11y agoLets not forget they did that, because they failed to produce a stable working GC for Objective-C.
- Drdrdrq 11y agoLets not forget Java failed to produce that too, they just dont seem to care. :)
- pjmlp 11y agoI didn't notice that JVM's GC do segfault all the time, with erratic behaviour depending on the libraries being linked.
- vitalyd 11y agoA performant GC for mobile is inherently a much harder problem than for servers.
- banachtarski 11y agoReference counting is still not the same as manual memory management, and there is a heavy cost to reference counting as well. Reference counting trades throughput for latency relative to a garbage collected runtime.