4 ms·
What I simply meant was "it's quite hard to introduce memory non-safety in Rust in a normal everyday work". But your explanation is definitely much more precise
by pdimitar 5y ago
What I simply meant was "it's quite hard to introduce memory non-safety in Rust in a normal everyday work". But your explanation is definitely much more precise.
- clappski 5y agoI suppose that depends on your definition of normal everyday work though, if you're developing device drivers or something that needs to write into shared mmap'd memory or whatever `unsafe` is something you're going to need all the time (from my 0 rust experience understanding?)
- pdimitar 5y agoAgreed, that is true. Nobody is saying Rust is completely bullet-proof: if anything, our current hardware doesn't allow for it. But it gets very close.
- burntsushi 5y agoRight, I figured as much. There is so much misunderstanding about what 'unsafe' is and does that it's really really important to be precise about it when your audience isn't Rust programmers.