Mar 02, 2020 • ☕️ 1 min read
Binaryen has a simple C API in a single header. It accepts input in WebAssembly-like form but also accepts a general control flow graph for compilers that prefer that.
Binaryen’s internal Intermediate Representation (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.
Binaryen’s optimizer has many passes that can improve code very significantly, one specific area of focus is on WebAssembly-specific optimizations that general-purpose compilers might not do.
Binaryen also provides a set of toolchain utilities that can:
Some compilers built using Binaryen include:
Starting a technical blog is easy but maintaining it for a long period of time is a pain in the neck
The industry darling BEM, the rebellious maverick Atomic CSS, and other incompetent solutions
Common security threats to know before deploying a serious web app