- Notifications
You must be signed in to change notification settings - Fork3.4k
Emscripten: An LLVM-to-WebAssembly Compiler
License
emscripten-core/emscripten
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Main project page:https://emscripten.org
Chromium builder status:emscripten-releases
Emscripten compiles C and C++ toWebAssembly usingLLVM andBinaryen. Emscripten output can runon the Web, in Node.js, and inwasm runtimes.
Emscripten provides Web support for popular portable APIs such as OpenGL andSDL2, allowing complex graphical native applications to be ported, such astheUnity game engineandGoogle Earth.It can probably port your codebase, too!
While Emscripten mostly focuses on compiling C and C++ usingClang, it can be integrated with other LLVM-usingcompilers (for example, Rust has Emscripten integration, with thewasm32-unknown-emscripten
andasmjs-unknown-emscripten
targets).
Emscripten is available under 2 licenses, the MIT license and theUniversity of Illinois/NCSA Open Source License.
Both are permissive open source licenses, with little if anypractical difference between them.
The reason for offering both is that (1) the MIT license iswell-known and suitable for a compiler toolchain, while(2) LLVM's original license, the University of Illinois/NCSA Open SourceLicense, was also offered to allow Emscripten's code to be integratedupstream into LLVM. The second reason became less important afterEmscripten switched to the LLVM wasm backend, at which point thereisn't any code we expect to move back and forth between the projects;also, LLVM relicensed to Apache 2.0 + exceptions meanwhile. In practice youcan just consider Emscripten as MIT licensed (which allowsyou to do pretty much anything you want with a compiler, includingcommercial and non-commercial use).
SeeLICENSE
for the full content of the licenses.
About
Emscripten: An LLVM-to-WebAssembly Compiler
Topics
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.