Comment Re:Lol no. Mostly one problem, same as modem C (Score 1) 157
What class of bugs are talking about? Nothing in modern C and C++ standards do much to prevent memory access bugs, which are still the leading cause of exploitable bugs in all the surveys I've seen. Improved tooling like AddressSanitizer have greatly decreased the number of memory access bugs in my C/C++ code from getting to production, but some still do in my code, and in other large C/C++ code bases that I know are using best practices.
Rust eliminates those entirely, except in unsafe blocks which I rarely need, and can more carefully scrutinize and test when needed.
Rust doesn't do as much to avoid integer over/underflow bugs which are the next biggest class of bugs.