Open tyfkda opened 8 months ago
Please ( Pretty please ) use performant true coroutines with a relooper, stackless C memory allocation management and registers.
The reason is asyncify is way too generic to get wasm or softrealtime decent performance. Especially for games engines which must yield slightly before vsync. C coders know where the hotspots are just give them a nice tool, don't hope for some generic tool do correct guesswork (and does not handle recursions efficently).
See https://github.com/mys-lang/mys/discussions/17 for a very rough schematic and for in depth : c++ thread that could be usefull https://groups.google.com/a/isocpp.org/g/std-proposals/c/jJIO4ChPf-0
@pmp-p Thank you for your advice. I'll look into it.