News for hackers. Stuff that matters.
Re:Haskell and Rust by swsieber on Saturday November 09, 2019 @04:46PM (#21494603)
> java

Java does not enforce thread safety at compile time. I would take Rust over java just for that.

Disclaimer - work heavily in Java by day, and have written some cli tools in Rust.

Re:Haskell and Rust by pron on Saturday November 09, 2019 @07:56PM (#21495648)
Rust doesn't enforce "thread safety" just a lack of a simple kind of data races. Much of it is because data races could result in undefined behavior in Rust when there's a race between freeing memory and accessing it. This kind of race cannot happen in Java, either.