2 ms·
It absolutely competes if the non-Apple ecosystem is improved. And Apple has put some support into running Swift in Linux, just not enough. A big thing Swift h
by armchairhacker 3y ago
It absolutely competes if the non-Apple ecosystem is improved. And Apple has put some support into running Swift in Linux, just not enough.
A big thing Swift has over all these languages is that it's higher-level than Rust and Zig, but not garbage-collected unlike Scala, Kotlin, and Go. Personally, I would use it if it wasn't for its dependence on Apple and that I use IntelliJ and they are discontinuing AppCode.
- super_flanker 3y agoReference counting is a garbage collection strategy, otherwise python too would be non-gc language (cpython).
- machinekob 3y agoARC is very limited in swift (mostly classes) most of the other types are value types that doesn't use ARC, also most folks don't consider ARC to be GC as there is no garbage to be collected.