Remix.run Logo
gf000 a day 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 a day ago | parent [-]

I've never had this issue. Use the built-in datastructures that provide that functionality and you're good

gf000 15 hours ago | parent [-]

Just 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.