3 ms·
Swift is garbage-collected – it might not have a tracing GC, but ARC is essentially compile-time GC – certainly, from the perspective of a developer, ARC is ext
by matthewmacleod 10y ago
Swift is garbage-collected – it might not have a tracing GC, but ARC is essentially compile-time GC – certainly, from the perspective of a developer, ARC is extrordinarily similar to a tracing GC (with some small caveats).
- int_19h 10y agoReference-counted GC is trivially implemented on top of WebAssembly memory model.
- chatterbeak 10y agoWell, if you're going to say that, then C++ with smart-pointers is Garbage Collected, and nobody says that!
- wyldfire 10y ago"compile-time GC" sounds like it would apply to C/C++'s automatic storage duration too.