2 ms·
It's not "language safety", it's memory safety. You're saying that memory safety isn't a priority? When you run Coverity or other static analyzer on your code,
by jasonpeacock 2y ago
It's not "language safety", it's memory safety. You're saying that memory safety isn't a priority?
When you run Coverity or other static analyzer on your code, how many violations do you find? How many were unexpected?
The borrow checker is always being run - the difference is whether its in the compiler (Rust) or you in your head (C++). And I trust the compiler much more than I trust myself...
- overgard 2y agoFor what I use C++ for (game development and embedded systems), smart pointers are "good enough". Especially single player games, worst you run into is a crash, or my arduino code writes past a buffer.