5 ms·
Swift, by design, does not have GC.
by KerrAvon 10mo ago
Swift, by design, does not have GC.
- pebal 10mo agoRC is a GC method and the least efficient one.
- winrid 10mo agoIt's the most predictable and has much less overhead than a moving collector.
- pjmlp 10mo 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 10mo 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 10mo 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.