Comment by andrepd
9 months ago
Rust is in a separate class of go and swift and kotlin and etc. The class it competes on is pretty C, C++, and itself.
Yes it's easier to write trivial code in python than Rust. Yes it's harder to manage memory manually than it is to let a gc handle it. I don't see the point.
Rust is a systems programming language. It's hard to write a server in it than it is to hack something in node, but it will also be faster and more reliable. Conversely, it's easier than writing it in C++ or C, while still being more reliable. That's the whole value proposition.
Swift has a systems programming subset, and an even smaller embedded programming subset.
Of course "smaller" is significant here; it has less features and you might not like using it anymore.
For Apple, Swift is their Rust, regardless of the world outside Apple's ecosystem thinks about it.
It is clearly stated on Swift's documentation, they already hold a couple of talks at C++ conferences about code migration, and is one of the reasons why nowadays they mostly focus on LLVM contributions instead of clang.