Re:Google Announces KataOS and Sparrow
by efficax on Sunday October 16, 2022 @11:17AM
(#33224219)
Rust gaurantees (except in unsafe code) that off-by-one errors will never lead to reading or writing from outside of safe memory bounds. You can still call `unwrap` on a out-of-bounds vector index and get a panic (panics are considered safe since they are memory safe), although you should not be using unwrap in ways that can panic in production code.
[ Parent
| on HN ]
There are no comments on this comment yet.