• _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    1 month ago

    Only in the context of data within the rust code. If you’re writing threaded rust that interfaces with external IO, for example, you can still get bit by a race condition. A person can absolutely be shit enough to hit a race condition in rust.

    • SorteKanin@feddit.dk
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      interfaces with external IO

      How would you run into a race condition like this with safe Rust? You can’t share mutable file handles between threads for example. I’m not sure you’re correct in saying its still possible. Even if it is, it doesn’t sound easy.