Comment by SkiFire13

2 days ago

> One of the basic ideas behind Rust's memory safety story is that eliminating race conditions

Rust does not prevent race conditions. You're getting confused with data races.

However GC's solution to data races (make every load/store act as very relaxed atomic instructions) makes race conditions much easier to write.

Rust does prevent race conditions.

  • 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?