3 ms·
Swift uses garbage collection (I know, arc, but that's still garbage collection), so it more or less is in the same category as Go. And I don't see people choos
by n144q 2y ago
Swift uses garbage collection (I know, arc, but that's still garbage collection), so it more or less is in the same category as Go. And I don't see people choosing Swift over Go any time soon.
C++ and Rust are a different thing.
- mikestew 2y agoSwift uses garbage collection (I know, arc, but that's still garbage collection) That’s simply not true, starting with ARC being compile-time and GC being run-time.
- trealira 2y agoReference counting very much incurs a runtime cost; it's not just a compile time abstraction, like borrow-checking in Rust.