Skip to content
New issue

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

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

Already on GitHub? # to your account

WebAssembly JS String Builtins & the ESM Integration #11031

Open
guybedford opened this issue Feb 14, 2025 · 2 comments
Open

WebAssembly JS String Builtins & the ESM Integration #11031

guybedford opened this issue Feb 14, 2025 · 2 comments
Labels
agenda+ To be discussed at a triage meeting

Comments

@guybedford
Copy link
Contributor

What is the issue with the HTML Standard?

I wanted to bring the WebAssembly ESM Integration issue on string builtins up here WebAssembly/esm-integration#95 and to be added to the WhatNOT agenda.

The JS String Builtins proposal is a WebAssembly Phase 4 proposal that supports compile-time builtin imports to be turned on via the builtins compile-time option to WebAssembly.compile. When enabled, the wasm:js-string module name is used as a special module name which provides useful JS string methods. This "import" is not otherwise listed as an import when inspecting the WebAssembly.Module imports so behaves more like global intrinsic linkage like Array in Javascript modules than a modular import (and it can't be virtualized when the builtin is enabled).

This proposal is already shipping in browsers for the JS API, and sought Tag review at the time. In the Wasm ESM Integration we are looking to enable string builtins by default which would therefore apply in HTML as well, so it was suggested to raise for further discussion in a web context. Alternative suggestions for where to bring this proposal up are very welcome too.

@guybedford guybedford added the agenda+ To be discussed at a triage meeting label Feb 14, 2025
@guybedford
Copy link
Contributor Author

I see the next meeting is at a time I likely can't make, removing the agenda label for now to re-add for the subsequent one in two weeks.

@guybedford guybedford added agenda+ To be discussed at a triage meeting and removed agenda+ To be discussed at a triage meeting labels Feb 15, 2025
@guybedford
Copy link
Contributor Author

I've marked this item for the 27/02 meeting agenda //cc @annevk @eqrion.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
agenda+ To be discussed at a triage meeting
Development

No branches or pull requests

1 participant