| commit | 264b61dede2aebb444857bfe8f8784f26a571d72 | [log] [tgz] |
|---|---|---|
| author | Sam Clegg <[email protected]> | Wed Oct 12 21:29:37 2022 |
| committer | GitHub <[email protected]> | Wed Oct 12 21:29:37 2022 |
| tree | 717eae9df652154430359c5823ec3126348c18e6 | |
| parent | e4f46f801f064f446633a1cd6c1c888ec75e73d3 [diff] |
Improve formatting in test/parse_benchmark_output.py (#18047)
New:
```
Node.js_no_stack_check Node.js_with_stack_check
base64 1.000 0.972
conditionals 1.000 1.096
copy 1.000 1.003
corrections 1.000 0.982
corrections64 1.000 1.004
fannkuch 1.000 1.004
fasta_float 1.000 1.002
havlak 1.000 1.025
ifs 1.000 0.962
matrix_multiply 1.000 1.021
```
Old:
```
Node.js_no_stack_check Node.js_with_stack_check
base64 1.0 0.9715909090909092
conditionals 1.0 1.096219035202086
copy 1.0 1.0028841716658976
corrections 1.0 0.9817155149233665
corrections64 1.0 1.0042210283960094
fannkuch 1.0 1.004495825305074
fasta_float 1.0 1.001837993960877
havlak 1.0 1.0250723240115718
ifs 1.0 0.9619738238415282
matrix_multiply 1.0 1.0212443095599393
```Main project page: https://emscripten.org
Chromium builder status: emscripten-releases
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 and suitable for a compiler toolchain, while (2) LLVM‘s original license, the University of Illinois/NCSA Open Source License, was also offered to allow Emscripten’s code to be integrated upstream into LLVM. The second reason became less important after Emscripten switched to the LLVM wasm backend, at which point there isn't any code we expect to move back and forth between the projects; also, LLVM relicensed to Apache 2.0 + exceptions meanwhile. In practice you can just consider Emscripten as MIT licensed (which allows you to do pretty much anything you want with a compiler, including commercial and non-commercial use).
See LICENSE for the full content of the licenses.