Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

.unwrap() is checked, if it goes wrong, it will safely cause task failure and stack unwinding. There won't be any memory unsafety.


You can't get corruption, but I don't consider a program that violently terminates on unexpected input to be "safe". Just semantics, I guess.


Yeah, saying 'safe' around Rust is generally interpreted as meaning memory safety.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: