Hacker News new | ask | show | jobs
by xwowsersx 2300 days ago
> It pretty much has everything going for it.

Hard to respond to that as it is so general.

> It's even adopted by twitter.

And larger companies than Twitter use Rust (though to be fair not as extensively as Twitter uses Scala).

They're really not comparable. Rust is a lower-level language with no garbage collection (yet with guarantees about memory safety due to ownership rules). Scala runs on the JVM and has significantly more in the way of OOP (depending on how you use it obviously).

That said, I've found that my extensive Scala experience does come in handy when learning Rust as some features of the type system, pattern matching, threading failures through with ?, etc. These are things you won't have any familiarity with from Java, but do from Scala.