SaaSHub helps you find the best software and product alternatives Learn more →
WebAssembly Compiler Projects
-
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
-
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.
WebAssembly Compilers discussion
WebAssembly Compilers related posts
-
Beating the Compiler
-
Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust
-
Random Testing of WebAssembly Implementations Using Semantically Valid Programs
-
You can reduce web build file size by 4mb by using Binaryen
-
Build a WebAssembly Language for Fun and Profit: Code Generation
-
Build a WebAssembly Language for Fun and Profit: Lexing
-
Is WebAssembly Text (WAT) Just Another IR?
-
A note from our sponsor - SaaSHub
www.saashub.com | 15 Oct 2024