Emscripten (https://emscripten.org/)
  • is a LLVM-to-JavaScript transpiler
  • emscripten can:
    • compile C and C++ code into JavaScript
    • compile any other code that can be translated into LLVM bitcode into JavaScript
    • compile the C/C++ runtimes of other languages into JavaScript, and then run code in those other languages in an indirect way (this has been done for Python and Lua)

Example Demos

Installation

Subpages