• @_stranger_@lemmy.world
    link
    fedilink
    114 days 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
      214 days 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.