Rust Data Races vs Race Conditions
The cluster centers on debates distinguishing data races from broader race conditions, emphasizing that Rust's safe code prevents data races but not all concurrency bugs or race conditions.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Why do you think data races are not a practical source of bugs?
Rust prevents data races, but not race conditions.
Rust prevents data races, not race conditions.
Safe Rust prevents data races, but not race conditions in general.
You're thinking of data races, rather than race conditions.
Rust only protects against data races, not general concurrency bugs.
Data races is what I meant; good catch.
Not all race conditions are data races.
That’s sounds more like a weakness of the language: that preventing data races is not automatically tracked for you, no?
Safe rust cannot guarantee the lack of race conditions, only the lack of data races.