-
Notifications
You must be signed in to change notification settings - Fork 19
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
consider mentioning WebAssembly feature extensions #359
Comments
Thanks for bringing this to our attention. I've spent some time today researching WebAssembly spec development, and found in the notes from their WG meeting in June that the WASM WG intends to publish a CR of WASM 2 (for all 3 specs) and then never advance it to REC and instead maintain the CR as a Living Standard. So that does indicate that support for any new WASM features added after 1.0 would ideally be specified in WMAS one way or another. To handle that, a couple initial thoughts I have are we could either:
It's probably worth a discussion with the WASM Spec Editor and WG Chairs on how they recommend we reference the WASM specifications after 1.0. Their Feature implementation report is great to easily see what would meet our criteria, but unfortunately the majority of the links are to proposals and not the WASM spec itself, and I'm having difficulty mapping some of those proposals to where they are in the spec (Typed Function References is one example of that) Since for WMAS2024 we intend to have to have the WASM remain in the "Web Media APIs proposed to be supported on all platforms" section, we can likely leave that untouched for this year (although happy to discuss additional text to include in WMAS2024 around this), but I do feel that discussion with WASM would be beneficial for both our group and theirs to have very soon. |
After reaching out to the WASM Editors & Working Group chairs, we've learned the WASM 2.0 specs as far as major features go have been in place since 2022 and those features have support of the 4 major browsers. Those specs are available at:
Those are currently working drafts, with the expectation they will go to Candidate Recommendation in the somewhat near future. WASM 2.0 includes these Feature Extensions:
These additional Feature Extensions with support of all 3 browsers are slated for WASM "3.0" (or at least some sort of incremental version from 2.0):
So given that, we could at a minimum update our non-normative WASM 1.0 references to WASM 2.0. In addition we could add additional notes around those 2 additional WASM features, although the only reference docs for those are the proposals in GitHub or this PDF draft of WASM 3.0 in GitHub: https://webassembly.github.io/spec/versions/core/WebAssembly-3.0-draft.pdf |
In the WAVE HATF call today, we agreed to update the WASM reference to 2.0, as well as add a note mentioning the other 3 features |
I've staged a PR for review at #366 based on our discussions. In doing so, I realized there were only 2 additional features we had to add to the note ( |
There's a list of WebAssembly feature extensions at https://webassembly.org/features/. We should consider mentioning some of these in the Snapshot.
There are 16 of them in 'phase 5' of which 10 are listed as implemented on all 3 browser codebases - our usual criteria.
Many of these feature extensions are merged into the main specification so including them may mean including a newer version.
The text was updated successfully, but these errors were encountered: