Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Concurrently modifying aliased memory (`&` references and pointers) is undefined behavior. Not just in Rust, but in just about any language.

As an aside, alias unsafety in Rust is always UB, even without concurrency.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: