binaryen

Compiler infrastructure and toolchain library for WebAssembly

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).

Ei virallista pakettia saatavilla: openSUSE Leap 16.0

Jakelut

openSUSE Tumbleweed

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Factory RISCV

openSUSE Backports for SLE 15 SP4