3 ms·
Swift, by design, does not have GC.
by KerrAvon 1y ago
Swift, by design, does not have GC.
- pebal 1y agoRC is a GC method and the least efficient one.
- winrid 1y agoIt's the most predictable and has much less overhead than a moving collector.
- pjmlp 1y agoOnly when we forget about the impact of cycle collections, or domino effects stoping the world when there is a cascade of counters reaching zero. The optimisatios needed to improve such scenarions, are akin to a poor man's tracing GC implementation.
- winrid 1y agoI didn't forget. That's predictable. It happens when the application code does something, or stops doing something, as opposed to the moving collector just doing it at random times.
- pjmlp 1y agoChapter 5, https://gchandbook.org/contents.html https://gchandbook.org/contents.html It would help if all naysayers had their CS skills up to date.