3 ms·
For a subset of algorithms, you are right. For certain other kind of concurrent algorithms, you are in a world of pain and Rust's borrow checker simply refuses
by gf000 1y ago
For a subset of algorithms, you are right.
For certain other kind of concurrent algorithms, you are in a world of pain and Rust's borrow checker simply refuses to compile a large set of otherwise correct programs.
- carlmr 1y agoI've never had this issue. Use the built-in datastructures that provide that functionality and you're good
- gf000 1y agoJust because you haven't had it doesn't mean it doesn't exist. The built-ins just use unsafe extensively for these kind of algorithms - though that is of course completely fine here and there, since you will only use the safe APIs.