LiveSplitOne icon indicating copy to clipboard operation
LiveSplitOne copied to clipboard

Tracking Issue for Reference Types (Webpack / webassemblyjs)

Open CryZe opened this issue 4 years ago • 2 comments

Reference types (+reference-types) allow passing JavaScript objects into WASM and back. This should improve the performance of the interactions between JS and WASM. All browsers other than Chrome support this already. Chrome will stabilize this in Chrome 96 on November 16th. We would then merge it one month later on December 16th.

CryZe avatar Oct 16 '21 14:10 CryZe

Turns out that webpack (particularly its underlying library webassemblyjs) can't currently parse WASM files that contain reference types, so this is also blocked on that.

CryZe avatar Oct 17 '21 19:10 CryZe

Chrome 96 has been released, but webassemblyjs still can't parse reference types. Here's the tracking issue: https://github.com/xtuc/webassemblyjs/issues/931

CryZe avatar Nov 17 '21 01:11 CryZe