Hacker News new | ask | show | jobs
by adhamsalama 2 days ago
Rust does prevent race conditions.
3 comments

Is this the classic "split out obviously wrong facts to get corrected"?

I'll take the bait then. Here's rust official documentation stating that it doesn't prevent race conditions: https://doc.rust-lang.org/nomicon/races.html

Rust helps prevent some race conditions, but an unqualified "prevents race conditions" sounds like it eliminates them, hence why GP says it does not.
It prevents "user A kicked B" and "user B revoked moderator permission from A" from arriving in a queue near the same moment?