Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asyncify is deprecated. Let's remove Asyncify builds once JSPI support is the baseline #1872

Open
adamziel opened this issue Oct 9, 2024 · 0 comments

Comments

@adamziel
Copy link
Collaborator

adamziel commented Oct 9, 2024

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-jspi enabled at chrome://flags, or with sites where the JSPI origin trial is enabled.
  • ✅ Node.js v22+ with --experimental-wasm-stack-switching feature flag.
  • ✅ Deno, with --v8-flags=--experimental-wasm-jspi feature flag
  • Firefox
  • ? Chrome-based browsers like Edge
  • ❌ Safari
  • ❌ Non-Chrome, non-Firefox web browsers
  • ❌ Node.js <= 21
  • ❌ Non-v8 JS runtimes like Bun

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant