4 ms·
That’s what I mean by “safe Rust”, so we agree.
by steveklabnik 9y ago
That’s what I mean by “safe Rust”, so we agree.
- sidlls 9y agoWe don't, though. The quoted code isn't safe. It has implicit unsafe blocks in it. You can't claim there are two dialects of Rust if you inlcude the "unsafe" dialect in your definition of "safe" as long as there isn't an explicit "unsafe" block present. It's misleading
- steveklabnik 9y agoThat's not a useful definition, though, as that means that all code everywhere is unsafe, since the hardware is.