logoalt Hacker News

seabrookmxlast Sunday at 8:14 AM1 replyview on HN

Exactly. Or Rust wouldn't be memory safe due to the existence of unwrap().

Not that crashing can't be bad, as we saw recently with Cloudflare's recent unwrap-based incident.


Replies

brabellast Sunday at 2:09 PM

Even without unwrap, Rust could still crash on array out of bounds access. And probably more similar cases.