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

Nope. Anything which wouldn't pass the borrowck is actually nonsense. This fantasy that magically it will just lose thread safety or have race conditions is just that, a fantasy.

The optimiser knows that Rust's mutable references have no aliases, so it needn't safeguard mutation, but without borrow checking this optimisation is incorrect and arbitrary undefined behaviour results.





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

Search: