WebAssembly / WebAssembly/custom-page-sizes
JavaScript integration
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 13
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I didn't see anything about integration with the JS interface, apologies if I've missed this.
Specifically, the WebAssembly.Memory constructor takes a number of pages and does not (currently) have anything which specifies page size. Probably it should just take an additional option in the options bag to specify the page size? Also it might be good to expose the page size on the Memory objects as well, since .grow also works in units of page size and you really want to know if you're growing by N bytes or N*64k bytes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reviewing the proposal's JavaScript integration and the WebAssembly.Memory constructor and grow behavior. Determine how a page-size option and an exposed page-size value should fit the existing API, then document the expected semantics and validation before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100