Re:Fearless concurrency with Rust
by shortstuffsushi on Friday April 10, 2015 @03:34PM
(#9356620)
Wouldn't the concept of borrowing avoid that issue in Rust though?
[ Parent
| on HN ]
Actually, atomics and locks (which are fully supported) are what avoid that issue in Rust. You can't borrow across multiple threads.
You can now with scoped threads, provided that you don't require mutation.