C++ is kind of a “language of last resort” type thing where you use it if there isn’t another good option for what you want to do. Eg. Most desktop development was done in C++, but now C# and newer languages have killed off C++ for most desktop apps. So C++ is still widely used in embedded/performance critical use cases, but Rust will replace a lot of it over the long term.