News for hackers. Stuff that matters.
Re:The reference D compiler is now open source by leshow on Saturday April 08, 2017 @12:25PM (#14067663)
Rust does not prevent all race conditions because doing so would be impossible. It would be akin to solving the halting problem.

Deadlocks, and other synchronization issues are just some 'general race conditions' Rust can't solve.

Rust's prevents 'data races' defined as:

-two or more threads concurrently accessing a location of memory

-one of them is a write

-one of them is unsynchronized

https://doc.rust-lang.org/nomicon/races.html

There are no comments on this comment yet.