4 ms·
You're right about deadlocks and general race conditions. I was confused. Rust only (statically) prevents data races (arguably the only form of race condition t
by smaddox 8y ago
You're right about deadlocks and general race conditions. I was confused. Rust only (statically) prevents data races (arguably the only form of race condition that is always undesirable). Rust does nothing to prevent deadlocks.
The advantage of Rust over, e.g. Java, then, is that Rust can prevent data races at compile time?
- steveklabnik 8y agoYup.