[flagged]
Swift vs Rust is a real question. Currently Rust is almost always the answer outside of the Apple ecosystem, but that may change. It's a great language that could use some better tools.
As I understand, it's pretty much just there so that people can write software for MacOS/iOS without needing to use Objective C.
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.