3 ms·
I'm not saying that Rust is not a good language for UI, and im also not saying UI is simple. The problem is that you are just comparing it to JavaScript which i
by oscargrouch 5y ago
I'm not saying that Rust is not a good language for UI, and im also not saying UI is simple. The problem is that you are just comparing it to JavaScript which is untyped and easy to beat.
In my case i'm comparing it with languages that are also powerful, safe, fast and more well designed for this kind of scenario, which JavaScript or Python aren't.
But if i had just two picks, between JavaScript or Rust, of course i would choose Rust without blinking. But once there is more options.. (in this case you can read my comments above).
And i agree with you, that if you sum it all, maybe you get more productive (as in ready to ship) in Rust than with JavaScript.
- ironmagma 5y agoSure, those other languages would be fine, but they all have their own severe downsides.. C# - requires an obscure runtime (Mono) on most platforms Kotlin - suffers from JVM's infamous GC pauses and startup time Swift - not open source (not SwiftUI, the good part) TypeScript - mostly same problems as JavaScript Java - same problems as Kotlin No one has managed to do open source cross-platform development well yet IMO. I'd be happy to be proven wrong.
- nsonha 5y agoOcaml: https://github.com/revery-ui/revery https://github.com/revery-ui/revery F#: https://safe-stack.github.io https://safe-stack.github.io To watch: Kotlin NATIVE Scala NATIVE Note that even with Scala's complexity, the language's focus is first and foremost domain modelling & expressiveness. Rust is first and foremost, a language for memory safety and raw performance, it just happens to have some level of expressiveness. Nothing wrong with that either.
- ironmagma 5y agoThose are some interesting picks, thanks! Will definitely be checking them out.