Hacker News new | ask | show | jobs
by rumcajz 3104 days ago
I would say the main advantage is being able to pass couroutine arguments as if it was a simple function. In other coroutine implementations in C (e.g. libtask) you have to make a struct containing all the args and pass that to the run function.