I am aware of two uses of WebAssembly Reference Types:
For one, wasm-bindgen (Rust's main Wasm toolchain) has an implementation
based on reference types that allows them to avoid bunch of custom JS for
managing values:
https://rustwasm.github.io/docs/wasm-bindgen/reference/reference-types.html
Another example is AssemblyScript which also allows switching to reference
types under a flag:
https://www.assemblyscript.org/status.html#webassembly-features

On Wed, Aug 25, 2021 at 3:59 PM Yoav Weiss <yoavwe...@chromium.org> wrote:

>
>
> On Tuesday, August 24, 2021 at 11:48:49 AM UTC+2 Andreas Haas wrote:
>
>> Contact emails
>>
>> ah...@chromium.org, ad...@chromium.org, v...@chromium.org
>>
>> Explainer
>>
>> https://github.com/WebAssembly/reference-types
>>
>> Specification
>>
>> https://github.com/WebAssembly/reference-types
>>
>> Summary
>>
>> Allow WebAssembly modules to hold references to JS/DOM objects, passing
>> them as arguments, storing them in locals and globals, and storing them in
>> WebAssembly.Table objects.
>>
>>
>>
>> Blink component
>>
>> Blink>JavaScript>WebAssembly
>> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EJavaScript%3EWebAssembly>
>>
>> Search tags
>>
>> wasm <https://chromestatus.com/features#tags:wasm>, webassembly
>> <https://chromestatus.com/features#tags:webassembly>, host bindings
>> <https://chromestatus.com/features#tags:host%20bindings>, anyref
>> <https://chromestatus.com/features#tags:anyref>
>>
>> TAG review
>>
>> Not required for WebAssembly feature launches
>>
>> TAG review status
>>
>> Not applicable
>>
>> Risks
>>
>> Interoperability and Compatibility
>>
>> Gecko: Already shipped (
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1444925)
>>
>
> Signals from Safari/WebKit? https://bit.ly/blink-signals
>
>
>>
>> WebAssembly Reference Types are already standardized and part of the core
>> WebAssembly spec <https://github.com/WebAssembly/spec>
>>
>
> Any developer signals <https://goo.gle/developer-signals>? I'd imagine
> developers would be excited about this.
>
>
>>
>> Debuggability
>>
>> Supported using DevTools
>>
>>
>> Is this feature fully tested by web-platform-tests
>> <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
>> ?
>>
>> Yes, tests are provided by the WebAssembly spec
>> <https://github.com/WebAssembly/spec>.
>>
>> Flag name
>>
>> WebAssembly Reference Types can be enabled and disabled by the V8 Flag:
>> --experimental-wasm-reftypes
>>
>> Requires code in //chrome?
>>
>> False
>>
>> Tracking bug
>>
>> https://bugs.chromium.org/p/v8/issues/detail?id=7581
>>
>> Launch bug
>>
>> https://bugs.chromium.org/p/chromium/issues/detail?id=1155598
>>
>> Estimated milestones
>>
>> M95
>>
>>
>> Link to entry on the Chrome Platform Status
>>
>> https://chromestatus.com/feature/5166497248837632
>>
>> This intent message was generated by Chrome Platform Status
>> <https://www.chromestatus.com/>.
>>
>

-- 
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAELSTvetjvT7xADoLgaP-cOBBBohuLYoYBY4s-mybhOor3TbMA%40mail.gmail.com.

Reply via email to