zlacker

[return to "“Rust is safe” is not some kind of absolute guarantee of code safety"]
1. Pulcin+H4[view] [source] 2022-10-02 14:54:33
>>rvz+(OP)
Not all that familiar with the specifics of Rust, but I assume it’s “safety” is somewhat similar to Swift’s “safety,” so type safety and memory safety, which does not mean no crashes, just that you will e.g. crash on an array OOB error rather than start writing or reading to random bits of memory.
◧◩
2. static+95[view] [source] 2022-10-02 14:57:15
>>Pulcin+H4
Rust's "safety" is memory safety. It's relatively well defined for a technical term: https://en.wikipedia.org/wiki/Memory_safety

edit:

> Yeah I was just trying to provide a clear definition, I didn't think you were implying it was BS.

(would have replied but I'm rate limited on HN - thanks dang!)

[go to top]