WebAssembly / binaryen

Optimizer and compiler/toolchain library for WebAssembly
Apache License 2.0
7.54k stars 745 forks source link

Support `Custom Page Sizes` proposal #6873

Open vshymanskyy opened 3 months ago

vshymanskyy commented 3 months ago

Currently, the WASM page size is fixed at 64KiB, which is rather expensive in some scenarios.

WebAssembly WG proposed a new feature to handle it nicely: https://github.com/WebAssembly/custom-page-sizes/blob/main/proposals/custom-page-sizes/Overview.md

It should be rather easy to implement, and it would help to catalyse the adoption of this feature: https://github.com/AssemblyScript/assemblyscript/issues/2866

tlively commented 3 months ago

PRs for this would be very welcome.