@iron_bug I think Rust's borrow checker is quite revolutionary. It solves all the memory safety and thread safety issues of C++ without compromising on performance and without requiring garbage collection or immutable data structures.
Did it require a whole new language? Maybe it could have been bolted onto C++, but...
...well, we'll probably see what it would have been like when C++23 comes out.
@iron_bug We do indeed have a lot of brainless people in the field, but even the smartest and most experienced coders in the industry cannot just look at a codebase the size of Chromium or Linux and convince themselves that there are no memory leaks, buffer overruns, use-after-free, or other serious flaws.
Sure, we have static analyzers and runtime checkers, but those have limits.
I've been using and teaching C++ for over 20 years, and I still miss bugs in code reviews.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!