Skip to content

Add a roadmap document #7336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,10 @@ under **Windows 10 x64** with with **CMake** and **Visual Studio 2015**.
However, Visual Studio 2017 may now be required. Help would be appreciated on
Windows and OS X as most of the core devs are on Linux.

* Is there a roadmap for the project?

Yes: [roadmap]

[compiling to WebAssembly]: https://github.com/WebAssembly/binaryen/wiki/Compiling-to-WebAssembly-with-Binaryen
[win32]: https://github.com/brakmic/bazaar/blob/master/webassembly/COMPILING_WIN32.md
[C API]: https://github.com/WebAssembly/binaryen/wiki/Compiling-to-WebAssembly-with-Binaryen#c-api
Expand All @@ -1039,3 +1043,4 @@ Windows and OS X as most of the core devs are on Linux.
[minification]: https://kripken.github.io/talks/binaryen.html#/2
[unreachable]: https://github.com/WebAssembly/binaryen/issues/903
[binaryen_ir]: https://github.com/WebAssembly/binaryen/issues/663
[roadmap]: https://github.com/WebAssembly/binaryen/blob/main/ROADMAP.md
55 changes: 55 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

# Binaryen Roadmap

## Planned Work

* Code annotations (inlining hints, etc.)

## Ongoing Work

* [Improve compile times]
* New interpreter (avoid exceptions, enable stack switching)

## Completed Work

* Wasm features support:
* Atomics
* MutableGlobals
* TruncSat
* SIMD
* BulkMemory
* SignExt
* ExceptionHandling
* TailCall
* ReferenceTypes
* Multivalue
* GC
* Memory64
* RelaxedSIMD
* ExtendedConst
* Strings
* MultiMemory
* StackSwitching
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stack switching support is not quite complete. In particular, the validation is not implemented.

Copy link
Member Author

@kripken kripken Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good point.

Also SharedEverything is still under development at the spec level, so that should be under Ongoing Work I suppose.

If we decide to land this, I'll update those parts (for now the larger question for me is if this document seems useful at all).

* SharedEverything
* FP16
* BulkMemory
* Tools:
* wasm-opt
* wasm2js
* wasm-ctor-eval
* wasm-emscripten-finalize
* wasm-fuzz-types
* wasm-metadce
* wasm-reduce
* wasm-as
* wasm-dis
* wasm-fuzz-lattices
* wasm-merge
* wasm-shell
* [Fuzzing]
* [ClusterFuzz integration]

[Improve compile times]: https://github.com/WebAssembly/binaryen/issues/4165
[Fuzzing]: https://github.com/WebAssembly/binaryen/wiki/Fuzzing
[ClusterFuzz integration]: https://github.com/WebAssembly/binaryen/blob/main/scripts/bundle_clusterfuzz.py