Intent to Ship: WebAssembly Multi-Memory

320 views
Skip to first unread message

Clemens Backes

unread,
Oct 17, 2023, 1:08:47 PM10/17/23
to blin...@chromium.org

Contact emails

clem...@google.com

Explainer

We are ready for shipping the Multi-Memory proposal for WebAssembly, which recently moved to phase 4 according to the WebAssembly W3C process.

Specification

https://github.com/WebAssembly/multi-memory/blob/main/proposals/multi-memory/Overview.md

Design docs

https://github.com/WebAssembly/multi-memory/blob/main/proposals/multi-memory/Overview.md

Summary

Add support for more than one memory per WebAssembly module as specified in the WebAssembly Multi-Memory proposal: https://github.com/WebAssembly/multi-memory/blob/main/proposals/multi-memory/Overview.md


Blink component

Blink>JavaScript>WebAssembly

Search tags

WasmWebAssemblyMulti-Memory

TAG review

Not required as per: https://v8.dev/docs/feature-launch-process.


TAG review status

Not applicable

Risks


Interoperability and Compatibility

None



Gecko: Positive

WebKit: Positive

Web developers: Strongly positive (https://github.com/WebAssembly/proposals)

Other signals: This was voted to phase 4 (standardization) at the October 2023 WebAssembly Community Group meeting. 38 of 43 votes were "strongly for".

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

All memories are inspectable from DevTools, just like the first memory.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

The WebAssembly proposal comes with all relevant tests; we pass them.


Flag name on chrome://flags

enable-experimental-webassembly-features

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://crbug.com/v8/13918

Estimated milestones

Shipping on desktop120
DevTrial on desktop117
Shipping on Android120
DevTrial on Android117
Shipping on WebView120
Shipping on WebView120
DevTrial on iOS117



Anticipated spec changes

None.


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5106389887746048


This intent message was generated by Chrome Platform Status.

Alex Russell

unread,
Oct 17, 2023, 1:42:38 PM10/17/23
to Clemens Backes, blink-dev
It's unclear why the TAG is not being informed or consulted. This has deep architectural implications for DOM integration and I'd expect to see those explained and worked.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGO%3DqhA9xWgZXnGbC%2BYQ9XqJUmLwgxsyggKa9mGhsY%3DOXpzcsg%40mail.gmail.com.

Clemens Backes

unread,
Oct 17, 2023, 2:09:35 PM10/17/23
to Alex Russell, Clemens Backes, blink-dev, ecmzi...@chromium.org, va...@chromium.org
On Tue, Oct 17, 2023 at 7:42 PM Alex Russell <sligh...@chromium.org> wrote:
It's unclear why the TAG is not being informed or consulted. This has deep architectural implications for DOM integration and I'd expect to see those explained and worked.

As written in the ITS, a TAG review is not required as per https://v8.dev/docs/feature-launch-process#tag. The changes to the WebAssembly JS API are actually very minimal: Instead of one exported memory, you can now have multiple.

I don't see any implication for anything DOM related (but I am also not entirely sure what you mean by "DOM integration", there is nothing like this planned in WebAssembly). Can you elaborate on that?

Clemens Backes

unread,
Oct 25, 2023, 10:24:04 AM10/25/23
to blink-dev, Alex Russell, ecmzi...@chromium.org, va...@chromium.org
There has not been an update on this ITS in 8 days. What's the expected timeline to get the LGTMs?

As the M120 branch cut is around the corner, I'll go ahead and prepare the launch, given that this is a feature voted to phase 4 in the W3C WebAssembly Community Group and all other approvals are there.
--

Clemens Backes

Software Engineer

clem...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian   

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.


This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.


Yoav Weiss

unread,
Oct 25, 2023, 11:23:18 AM10/25/23
to blink-dev, Clemens Backes, blink-dev, ecmzi...@chromium.org, blink-dev
LGTM1

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Chris Harrelson

unread,
Oct 25, 2023, 11:25:59 AM10/25/23
to Yoav Weiss, blink-dev, Clemens Backes, blink-dev, ecmzi...@chromium.org, blink-dev
LGTM2

On Wed, Oct 25, 2023 at 8:23 AM Yoav Weiss <yoav...@chromium.org> wrote:
LGTM1

On Wednesday, October 25, 2023 at 4:24:04 PM UTC+2 Clemens Backes wrote:
There has not been an update on this ITS in 8 days. What's the expected timeline to get the LGTMs?

Last week was BlinkOn and we do most reviews in our weekly meeting on Wednesdays.
 
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.


--

Clemens Backes

Software Engineer

clem...@google.com

Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian   

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.


This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.


--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/743b2bdb-0d91-411f-b2a6-6029e70ae342n%40chromium.org.

Mike Taylor

unread,
Oct 25, 2023, 12:10:21 PM10/25/23
to Chris Harrelson, Yoav Weiss, blink-dev, Clemens Backes, blink-dev, ecmzi...@chromium.org, blink-dev
Reply all
Reply to author
Forward
0 new messages