Cheerp compiles C++ into modern WebAssembly and JavaScript. With Cheerp, you can write a new web application, or port an existing one, in C/C++. Cheerp will then generate WebAssembly/JavaScript code that can run on any browser and device.
Emscripten Alternatives
Emscripten is described as 'LLVM to JavaScript compiler. It takes LLVM bitcode (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bitcode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run)' and is an app. There are 2 alternatives to Emscripten for Mac, Windows and Linux. The best Emscripten alternative is Cheerp. It's not free, so if you're looking for a free alternative, you could try Cheerp or CrossBridge.








It compiles the LLVM output of a C++ compiler to JavaScript, just like Emscripten.