4 ms·
Yeah, but I've been around the block enough times to avoid those types of bugs.
by aswanson 7y ago
Yeah, but I've been around the block enough times to avoid those types of bugs.
- apta 7y agoIt's much more than just null pointer dereferencing. Time and time again, it's been proven that Rust protects even very experienced C++ programmers from bugs they didn't realize they're even making.
- MaxBarraclough 7y agoThis is a good point. Personal assurances count for little. No-one is above writing buggy code. Even C/C++ codebases written by very expert programmers, often have pointer-based bugs, especially if large and complex. Operating systems and drivers, for instance. As well as having free-form pointers, C/C++ also have many, many dark corners. What proportion of C++ programmers know that comparison = (c == c++); causes undefined behaviour?