3 ms·
C++ written with -pedantic -Wall, smart pointers, and clang static analysis tools, ASan, valgrind, etc. enabled is just as safe as Rust. Change my mind.
by zelly 7y ago
C++ written with -pedantic -Wall, smart pointers, and clang static analysis tools, ASan, valgrind, etc. enabled is just as safe as Rust. Change my mind.
- jjtheblunt 7y agoDoes C++ do any setup of signal handling, differently than Rust (which, I am guessing, doesn't)?
- bvinc 7y agoAre smart pointers thread safe?
- mlindner 7y agoValgrind is runtime... You're not going to catch a double free that you don't hit on the common path. Not to mention race conditions in memory accesses.