Comment by wruza
6 years ago
>You can definitely implement cooperative threading in a compiler whose target language doesn't have any kind of threads
I can’t find that thread in my comment history, but there was a wasm guy who basically said nope, not gonna have it, loud and clear, exactly in the context you noted. If that was not true, and all browser vendors will allow it, good.
You can just compile to explicit CPS or equivalent.