2 ms·
There are tools you can use with C compilers that don't access OOB memory on OOB access. What's your point? I think I'd rather not have it panic at all. They w
by ue_ 10y ago
There are tools you can use with C compilers that don't access OOB memory on OOB access. What's your point?
I think I'd rather not have it panic at all. They were making a language from scratch and still didn't solve the crash-at-runtime problem that C has. Instead they just made a common C compiler option default and called it 'safe'.
It's worse than the fact that the Go creators ignored years of research after the year 1970 and didn't implement generics, for no good reason.
Rust's safety is a joke, and so is the idea that a lot of it is anything 'new'. They had the chance to fix it and they didn't. Boo.
- steveklabnik 10y ago> What's your point? My point is that panics are memory safe, contrary to what my parent said.
- the_why_of_y 10y agoWhich common C compiler has a production quality implementation of array bounds checking? Before you say Address Sanitizer you should be aware that its authors intended it as a debugging tool and recommend against using it in production as it introduces new attack surface, as described in the "Address Sanitizer local root" mail. http://seclists.org/oss-sec/2016/q1/363 http://seclists.org/oss-sec/2016/q1/363