Compiler and toolchain infrastructure library for WebAssembly
5.28 MB
built 2026-11-28 04:11:51 GMT
Description
Binaryen is a compiler and toolchain infrastructure library for WebAssembly,
written in C++. It aims to make compiling to WebAssembly easy, fast, and
effective:
* Easy: Binaryen has a simple C API in a single header, and can also be used
from JavaScript. It accepts input in WebAssembly-like form but also accepts
a general control flow graph for compilers that prefer that.
* Fast: Binaryen's internal IR uses compact data structures and is designed for
completely parallel codegen and optimization, using all available CPU cores.
Binaryen's IR also compiles down to WebAssembly extremely easily and quickly
because it is essentially a subset of WebAssembly.
* Effective: Binaryen's optimizer has many passes that can improve code very
significantly (e.g. local coloring to coalesce local variables; dead code
elimination; precomputing expressions when possible at compile time; etc.).
These optimizations aim to make Binaryen powerful enough to be used as a
compiler backend by itself. One specific area of focus is on
WebAssembly-specific optimizations (that general-purpose compilers might not
do), which you can think of as wasm minification , similar to minification for
JavaScript, CSS, etc., all of which are language-specific (an example of such
an optimization is block return value generation in SimplifyLocals).
Dependencies
11 totalRequires10
- /usr/bin/node
- FP16-devel
- cmake
- cmake(GTest)
- gcc-c++
- pkgconfig(gmock)
- python3dist(filecheck)
- python3dist(lit)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- binaryen = 130-2.rvmock0_nc.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
5Name ![]() |
Size |
|---|---|
| binaryen-fix-filecheck-empty.patch | 1.13 KB |
| binaryen-use-system-gtest.patch | 1.50 KB |
| binaryen-version_130.tar.gz | 5.60 MB |
| binaryen.spec | 9.70 KB |
| testsuite-4b24564.tar.gz | 551.71 KB |
Files 1–5 of 5
Component of
buildroots that installed this RPMNo Buildroots
