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

It doesn't catch all of them. But data-races on plain memory access are impossible in safe rust.

And atomics force you to specify an ordering on every access, which helps both the writer (forced to think about which ordering they need) and reviewer (by communicating intent).



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

Search: