• 5C5C5C@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    Sorry to be pedantic but Rust only guarantees no data races can happen. It does not prevent race conditions more generally.

    Don’t get me wrong, I absolutely love the language for sparing me from the hell that is data races, but the language alone won’t solve race conditions for you.