Think taking a C++ codebase, feeding it into a LLVM/clang based compiler, and getting something that can to interact with arbitrary JavaScript libraries and the general browser environment. This is Cheerp in a nutshell.

#cpluplus 

How to use C++ in the browser made easy in JSExport
1.55 GEEK