Clone this repo:
  1. e6919c8 Limit testsuite parallelism to number of tests (#10890) by Sam Clegg · 4 months ago master
  2. 1ed6dd5 Mark setErrNo as a JS-only symbol (#10886) by Sam Clegg · 4 months ago
  3. ddc6c94 Add option to not default for C++ (which matches clang/gcc behaviour) (#10879) by Sam Clegg · 4 months ago
  4. 593c1ee Properly fix SAFE_HEAP+SIDE_MODULE (#10880) by Alon Zakai · 4 months ago
  5. 03052d7 Fix some testing for wasm2js (#10865) by Alon Zakai · 4 months ago

emscripten logo


Main project page:


Emscripten compiles C and C++ to WebAssembly using LLVM and Binaryen. Emscripten output can run on the Web, in Node.js, and in wasm runtimes.

Emscripten provides Web support for popular portable APIs such as OpenGL and SDL2, allowing complex graphical native applications to be ported, such as the Unity game engine and Google Earth. It can probably port your codebase, too!

While Emscripten mostly focuses on compiling C and C++ using Clang, it can be integrated with other LLVM-using compilers (for example, Rust has Emscripten integration, with the wasm32-unknown-emscripten and asmjs-unknown-emscripten targets).


Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.

Both are permissive open source licenses, with little if any practical difference between them.

The reason for offering both is that (1) the MIT license is well-known, while (2) the University of Illinois/NCSA Open Source License allows Emscripten's code to be integrated upstream into LLVM, which uses that license, should the opportunity arise.

See LICENSE for the full content of the licenses.