C++ is all the operating systems and the browsers and the games and the JVM.
C++ has been hated for decades now. The reason it's used is often because you have to.
> C++ runs a real risk of surviving only in the embedded/realtime space in the next 10 years.
Ten years from now C++ will still be the language underpinning LLVM, web browsers, geometric modeling, machine learning, etc
Embedded/realtime? No way. The people I know in embedded won't touch C++ with your 10 foot pole.
Most of my embedded code is wrangling various "stacks" into cooperation with one another, and C++ helps me not one whit with that. At the other side, when I'm just poking sensors, C is more than enough.
And, as much I would really like embedded communication stacks to be in Rust, all that would happen would be the vendors slapping "unsafe" on everything so they would basically be writing C anyway.
Hell it's going into the kernel in 6.1.
C++ runs a real risk of surviving only in the embedded/realtime space in the next 10 years.