binaryen
« Back to VersTracker
Description:
Compiler infrastructure and toolchain library for WebAssembly
Type: Formula  |  Latest Version: 125@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: webassembly wasm compiler optimization emscripten
Install: brew install binaryen
About:
Binaryen is a compiler infrastructure and toolchain library for WebAssembly. It provides tools for optimizing and analyzing WebAssembly modules, serving as the optimizer backend for Emscripten. Its main value proposition is improving performance and reducing code size for WebAssembly applications.
Key Features:
  • Provides a comprehensive optimizer for WebAssembly (wasm) files
  • Serves as the core optimizer for the Emscripten toolchain
  • Includes a standalone toolchain for compiling WebAssembly
  • Implements advanced optimization passes to reduce code size
Use Cases:
  • Optimizing WebAssembly binaries for web deployment
  • Reducing the size of WebAssembly modules for faster load times
  • Integrating WebAssembly optimization into custom build pipelines
Alternatives:
  • wasm-opt – Binaryen includes wasm-opt, but the broader ecosystem includes LLVM-based wasm optimizers which are often more complex.
License: Apache-2.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 11:47am 0 VERSION_BUMP 1fd3ebee
Dec 17, 2024 3:34am 0 VERSION_BUMP 4b9d84d6
Nov 13, 2024 3:51pm 6 0 VERSION_BUMP 8bbf8c43
Oct 26, 2024 3:09pm 6 0 VERSION_BUMP 37134628