News for hackers. Stuff that matters.
Re:The borrowchecker is what I like the least about Rust by ameliaquining on Saturday July 19, 2025 @09:35PM (#44621126)
Different meanings of "unsafety". A cool thing about Rust's references, when used idiomatically, is that not only are you guaranteed no memory corruption, you're also guaranteed no runtime panics. These are not "unsafe" by Rust's definition, but they're still a correctness violation and it's good to prevent them statically when you can. Indices don't give you this protection.

There are no comments on this comment yet.