e01.org

Emscripten

Emscripten is an LLVM/Clang-based compiler that compiles LLVM IR to WebAssembly, primarily for execution in web browsers. Emscripten allows applications and libraries written in C or C++ to be compiled ahead of time and run efficiently in web browsers, typically at speeds comparable to or faster than interpreted or dynamically compiled JavaScript. It even emulates an entire POSIX operating system, enabling programmers to use functions from the C standard library (libc). With the more recent development of the WebAssembly System Interface (WASI) and WebAssembly runtimes such as Node.js, Wasmtime, and Wasmer, Emscripten can also be used to compile to WebAssembly for execution in non-web embeddings as well.

Emscripten is an LLVM/Clang-based compiler that compiles LLVM IR to WebAssembly, primarily for execution in web browsers. Emscripten allows applications and libraries written in C or C++ to be compiled ahead of time and run efficiently in web browsers, typically at speeds comparable to or faster than interpreted or dynamically compiled JavaScript. It even emulates an entire POSIX operating system, enabling programmers to use functions from the C standard library (libc). With the more recent development of the WebAssembly System Interface (WASI) and WebAssembly runtimes such as Node.js, Wasmtime, and Wasmer, Emscripten can also be used to compile to WebAssembly for execution in non-web embeddings as well. ==See also== asm.js Google Native Client (PNaCl) WebAssembly ==References== ==External links== Project page on GitHub Emscripten Documentation Porting Examples and Demos A list of some WebAssembly runtimes

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Emscripten". 1790140759. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1376291871

JSON record · API collection · citation policy