cppcoro
cppcoro copied to clipboard
We need emscripten support!
With the latest switch to clang, this lib would be a "huge" add for emscripten.
What is missing/required to make it work?
https://v8.dev/blog/emscripten-llvm-wasm
I'm not sure anything is missing, other than somehow telegraphing the existence of this library. Maybe all that's needed is a few emscripten tests or examples, which exercise classes in cppcoro, that don't step outside the webassembly sandbox? This library is beautiful. Combining it w/ the latest emscripten, HUGE deal. For browser games, having generators and coroutines within c++, a dream we've had for decades. I can hardly believe it's finally here :)
An emscripten test or sample showing the DelayedScheduler running under emscripten, think that would get everyone's attention.
https://github.com/emscripten-core/emsdk/issues/335