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

Why is JavaScript not replaced?

The reasons for this are always that JavaScript has too many quirks that should have been fixed a long time ago . But since these haven’t been fixed it apparently means that JavaScript is a crappy language that’s simply cannot be fixed. And so it needs to be replaced, preferably by the complainer’s favorite language.25 Kas 2019

Read more