4 ms·
There's a proposal for effect handlers that allows for continuatios, coroutines and others. > effect handlers as a unifying mechanism to enable efficient compi
by marianoguerra 3y ago
There's a proposal for effect handlers that allows for continuatios, coroutines and others.
> effect handlers as a unifying mechanism to enable efficient compilation of control idioms, such as async/await, generators/iterators, first-class continuations, etc.
https://wasmfx.dev/ https://wasmfx.dev/
- gumby 3y agoSo a coroutine would be a “stack” one frame deep?
- marianoguerra 3y agoHere's a good explanation: https://github.com/WebAssembly/stack-switching/blob/main/proposals/continuations/Explainer.md https://github.com/WebAssembly/stack-switching/blob/main/pro...