4 ms·
> To take HN's fave example Rust: it has a type system that removes "viligance and dicipline" as a requirement for memory management. Nope, it doesn't. That's
by zozbot234 2y ago
> To take HN's fave example Rust: it has a type system that removes "viligance and dicipline" as a requirement for memory management.
Nope, it doesn't. That's what the 'unsafe' keyword means in Rust: it's just short for "vigilance and discipline required".
- benrutter 2y agoI'll grant you that, but I would argue that 'unsafe' is the exception, definitely not the rule. The fact that there's a required keyword sort of gets at what I was driving at.