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

Tracking issue: Stack switching proposal implementation status #10248

Open
1 of 12 tasks
frank-emrich opened this issue Feb 19, 2025 · 1 comment
Open
1 of 12 tasks

Tracking issue: Stack switching proposal implementation status #10248

frank-emrich opened this issue Feb 19, 2025 · 1 comment
Labels
wasm-proposal:stack-switching Issues related to WebAssembly stack switching

Comments

@frank-emrich
Copy link
Contributor

frank-emrich commented Feb 19, 2025

This is a tracking issue for the in-progress implementation of the Wasm stack switching proposal. The explainer document for the proposal is here.

Progress of initial implementation

This just tracks what's happening in the sequence of PRs that's providing an initial implementation of the proposal. To get an idea of the extent of the initial implementation, see draft PR #10177.

  • Support for tags (implemented in Exception and control tags #10251)
  • Type definitions for stack switching support
  • Runtime support for stack switching
  • Compiling stack switching instructions to CLIF

Limitations of initial implementation

These are things that won't be part of the initial implementation:

  • Support for ISAs other than x64
  • Support for resume.throw instructions (requires exception handling)
  • Support for deallocating continuations
  • Integration with GC (i.e., allowing continuation references to appear in GC objects, such as arrays an structs)
  • Windows support
  • Pulley support
  • Winch support

Miscellaneous TODO items

@dhil
Copy link
Contributor

dhil commented Feb 20, 2025

Tags are added by PR #10251.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasm-proposal:stack-switching Issues related to WebAssembly stack switching
Projects
None yet
Development

No branches or pull requests

3 participants