Tracking Issue for Reference Types (Webpack / webassemblyjs)
Closed this issue · 2 comments
CryZe commented
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 commented
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 commented
Chrome 96 has been released, but webassemblyjs still can't parse reference types. Here's the tracking issue: xtuc/webassemblyjs#931