this post was submitted on 19 Jan 2021
11 points (82.4% liked)
Rust Programming
8159 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm more experienced with java, but have used kotlin a bit too. The JVM languages are extremely versatile and capable of doing anything, but kotlin is probably the best of them in terms of syntax.
That said, after dealing with java's garbage collector, I don't think garbage-collected languages have a place in the future. Rust showed me that despite claims of garbage collected languages being easier, simple scoping and borrowing don't really add any complication, and are better in terms of memory in the long run, and a better choice for pretty much every type of application.
But practically of course browsers aren't going anywhere (so we'll still need to learn javascript / typescript), and neither is android (so we'll still need to learn a jvm language). I'll still use kotlin, but only for android. Rust already has functioning web servers, UI toolkits, CLI toolkits, and everything you need for desktop or server apps.
I would at least disagree on the browser side, look at dioxus-liveview. There is no need for js anymore ๐