Name : binaryen
| |
Version : 112
| Vendor : obs://build_opensuse_org/home:obsgeek0
|
Release : 1.6
| Date : 2023-12-06 04:04:42
|
Group : Development/Tools
| Source RPM : binaryen-112-1.6.src.rpm
|
Size : 3.63 MB
| |
Packager : (none)
| |
Summary : Compiler infrastructure and toolchain library for WebAssembly
|
Description :
Binaryen is a compiler and toolchain infrastructure library for WebAssembly, written in C++, for compiling WebAssembly.
* Binaryen has a single header C API. It accepts input in WebAssembly-like form, but also accepts a general control flow graph for compilers that prefer that. * Binaryen\'s internal IR uses compact data structures and is designed for completely parallel codegen and optimization, using all available CPU cores. * Binaryen IR compiles down to WebAssembly easily and quickly because it is a subset of WebAssembly. * Effective: Binaryen\'s optimizer has many passes that can improve code (e.g. local coloring to coalesce local variables, dead code elimination; precomputing expressions when possible at compile time; etc.). * WASM minification
Compilers built using Binaryen include:
* s2wasm which compiles the LLVM WebAssembly\'s backend .s output format * mir2wasm which compiles Rust MIR
Those compilers generate Binaryen IR, which can then be optimized and emitted as WebAssembly (the first two use the internal C++ API, the last the C API).
Binaryen provides a toolchain that can:
* Parse and emit WebAssembly. Users can load WebAssembly, optimize it using Binaryen, and re-emit it, thus implementing a wasm-to-wasm optimizer. * Interpret WebAssembly as well as run the WebAssembly spec tests. * Integrate with Emscripten in order to provide a complete compiler toolchain from C and C++ to WebAssembly. * Polyfill WebAssembly by running it in the interpreter compiled to JavaScript, if the browser does not yet have native support (useful for testing).
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/obsgeek0:/branches:/devel:/tools:/ide:/vscode:/dev/openSUSE_Factory/x86_64 |