• _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    20 hours 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
      ·
      20 hours 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.