2 ms·
As far as I understand, both these languages are subject to data races whereas (safe) Rust is not. Now, Scala is a JVM language and so presumably you get Java'
by tialaramex 4y ago
As far as I understand, both these languages are subject to data races whereas (safe) Rust is not.
Now, Scala is a JVM language and so presumably you get Java's rules, you aren't Sequentially Consistent but the damage is constrained - however human programmers still can't successfully reason about this state in non-trivial programs.
- pjmlp 4y agoThere are plenty of other races that Rust doesn't provide any help, and those are much more relevant in distributed computing workloads.