Will C++ replace JavaScript?

Yes, it is possible, but not likely . There is so much C++ and Java code out there, that it would take decades to rewrite it all. More likely is that C++ or more likely Rust will mostly replace JavaScript with WebAssembly. This will result in better performance with lots of Rust developers.

Read more