WebAssembly Compilers

Open-source WebAssembly projects categorized as Compilers

WebAssembly Compiler Projects

  • binaryen

    Optimizer and compiler/toolchain library for WebAssembly

    Project mention: Beating the Compiler | news.ycombinator.com | 2024-07-12

    I'm not sure there is a clear separation between applying heuristics and searching a space. Often in compilers you search a subset of a space using heuristics, and you can adjust those to control how much of the space you cover.

    For example, here is a pass that reorders WebAssembly globals in Binaryen:

    https://github.com/WebAssembly/binaryen/blob/main/src/passes...

    We have a simple criteria for the quality of a solution - how big the binary size is with an order - but the space of possible orders is huge (every permutation that keeps every global after its dependencies). What we do is a targeted search of that space using some heuristics using parameters that work well enough and aren't too slow in practice.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • waforth

    Small but complete dynamic Forth Interpreter/Compiler for and in WebAssembly

    Project mention: WASM Is the New CGI | news.ycombinator.com | 2024-10-10

    wasm has no way to remap writable memory as executable, but you can absolutely call back into javascript to instantiate and link a new executable module, like https://github.com/remko/waforth does.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

WebAssembly Compilers discussion

Log in or Post with

WebAssembly Compilers related posts

  • Beating the Compiler

    1 project | news.ycombinator.com | 12 Jul 2024
  • Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust

    5 projects | news.ycombinator.com | 7 Mar 2024
  • Random Testing of WebAssembly Implementations Using Semantically Valid Programs

    2 projects | news.ycombinator.com | 4 Aug 2023
  • You can reduce web build file size by 4mb by using Binaryen

    1 project | /r/godot | 29 Mar 2023
  • Build a WebAssembly Language for Fun and Profit: Code Generation

    2 projects | dev.to | 2 Sep 2022
  • Build a WebAssembly Language for Fun and Profit: Lexing

    2 projects | dev.to | 19 Aug 2022
  • Is WebAssembly Text (WAT) Just Another IR?

    2 projects | /r/ProgrammingLanguages | 16 Jun 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Oct 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

Project Stars
1 binaryen 7,455
2 waforth 493

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com