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

Rust compiler forbids multiple threads to access the same memory location not protected by a Mutex.


That is, only when said memory location is accessed mutably. Immutable references are perfectly ok to follow concurrently.




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

Search: