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)'. There are three alternatives to Emscripten for Linux, Mac and Windows. The best alternative is Cheerp. It's not free, so if you're looking for a free alternative, you could try Clue (compiler) or CrossBridge.

    This page was last updated Oct 29, 2017

    1. 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.
      No screenshots yet
      Cheerp vs Emscripten opinions
      pros, cons and recent comments
      It compiles the LLVM output of a C++ compiler to JavaScript, just like Emscripten.
      Positive comment almost 4 years ago

    2. Clue is an experimental C compiler that generates code for high-level dynamic languages such as Lua, Javascript, Perl5 and Common Lisp, as well as non-dynamic languages like C and Java. It supports the complete ANSI standard, including pointer arithmetic
      No screenshots yet

      • FreeOpen Source
      • Mac
      • Windows
      CrossBridge is the open-source version of Adobe FlasCC (formerly the Alchemy project).
    Showing 3 of 3 alternatives