Hi
I am looking around to start benefiting of Haxe compile time powers in the form of virtual coroutines.
In the past I was using jsawait/jsasync for javascript, was patching it with sync code for other targets, it was not the best, after all sync has its problems and most platforms support callbacks, but not all are supporting syntax level async functions, even javascript doesn’t yet have promises for everything.
I found GitHub - nadako/haxe-coroutines which seems to be very flexible with almost no special syntax rules, transformers are normal functions.
There is also pecan GitHub - Aurel300/pecan: Macro-based coroutines for Haxe with a nice website, and even goto support (from outside), it seems to be more constraining the syntax, and harder for spliting the code in multiple files.
There is GitHub - profound7/moon-core: moon-core library for haxe with @async and @yield, but requires everywhere.
GitHub - RealyUniqueName/Coro: Async/await, generators, and arbitrary coroutines for Haxe seems the most simple syntax, however requires compiler plugins which are not so standard (I d not know yet how to use it)
There is also GitHub - haxetink/tink_await: Haxe async/await that requires @await everywhere
Did I miss something?
Can anyone point out any of above, as a great or succesfull solution in general or in a specific domain?
I also understand that possibly some of these might be officially abandoned, superceded by something else and even the owner is using something else and do not even recommand anymore to use it.