-
Notifications
You must be signed in to change notification settings - Fork 363
Open
Description
JSPI support landed in trunk and Asyncify is now officially deprecated in WordPress Playground π Let's monitor the runtime support and the remove Asyncify builds entirely once JSPI is widely supported.
Why? Because Asyncify builds often crash when asynchronous functions are used and every error report takes a few hours to address. Meanwhile, JSPI was designed specifically to not have that problem.
Runtime support as of Oct 10th, 2024
JSPI is supported on:
- β
Google Chrome with
#enable-experimental-webassembly-jspienabled atchrome://flags, or with sites where the JSPI origin trial is enabled. - β
Node.js v23+ with
--experimental-wasm-jspi --experimental-wasm-stack-switchingfeature flags. - β
Deno, with
--v8-flags=--experimental-wasm-jspifeature flag - β Firefox
- ? Chrome-based browsers like Edge
- β Safari
- β Non-Chrome, non-Firefox web browsers
- β Node.js <= 21
- β Non-v8 JS runtimes like Bun
Resources
mho22