3 ms·
I think Swift might be closer to what you want than Rust. I like both, but Rust and Swift are really for two very different groups and solve different problems
by oddity 8y ago
I think Swift might be closer to what you want than Rust.
I like both, but Rust and Swift are really for two very different groups and solve different problems. Rust is for the C/C++/assembly programmers who would never even think of using Java or Python. Swift is a modern Java.
If you're coming from Python, I think Swift is closer to what you want since Rust will probably seem more complex for reasons that don't have benefit for the Python-style use case.
- Longhanks 8y agoThe only thing in which Swift relates to Java is syntax. Apart from that, they couldn't be more different. And if you start digging deeper, you get to see that Swift is a very complex language, too. It's easy to get started, probably easier than Rust, but it has its own kind of quirks.
- akvadrako 8y agoSwift does have a lot of syntax, but it's quite well designed and that contributes to the reference guide being organised in a useful manor. So that complexity is more manageable than C++ or Rust. Once they can remove lots of the ObjC compatibility parts, it should get better too.
- cutler 8y agoIf you're looking for a modern Java wouldn't Kotlin be your first choice?
- MR4D 8y agoYou know, previously I had ruled out Kotlin due to the reliance on the JVM (long story, but I'm biased against moving to the JVM). Thanks to your comment, I checked out the site today - looks like it can be compiled by LLVM ! So thank you - not sure where I'll end up, but it's worth me spending more time to look at.