Re:Still in love with Rust
by Sharlin on Thursday November 22, 2018 @05:19AM
(#18509104)
It's important to understand the difference between data races and race conditions. The former are a subset of the latter. Race conditions in general can happen even in single-threaded code. (Although admittedly Rust ownership semantics prevent many of the latter as well; for instance, modifying a collection while iterating over it is impossible, cf. Java `ConcurrentModificationException` which itself is thrown only on a best-effort basis.)
[ Parent
| on HN ]
There are no comments on this comment yet.