The issue with modern c++ is ecosystem. It is still full of legacy c++ libraries. Even though people have mostly settled on cmake, it's still common to run into friction when integrating third-party libraries. Nothing as streamlined as cargo. Vcpkg, hunter, conan, vendoring in libraries etc...
Don't get me wrong. Number of C++ libraries is far bigger than number of rust libraries. But number of modern c++ libraries is still not that high i feel. So once you have integrated legacy code into your project, there's a lot of scope for newbies to create memory leaks/double free/etc ...
Don't get me wrong. Number of C++ libraries is far bigger than number of rust libraries. But number of modern c++ libraries is still not that high i feel. So once you have integrated legacy code into your project, there's a lot of scope for newbies to create memory leaks/double free/etc ...