Coroutines for Playdate C/C++
➤➤➤ A C/C++ library for coroutines on the Playdate and in the simulator. ⮜⮜⮜
Lua has a coroutines library, and it's fantastic. It allows deep yielding -- yielding from subroutines called by the coroutines, not just from the top-level coroutine itself. This is better than python's coroutines, for examples, and it avoids the red/blue problem too.
Now we can have coroutines in C/C++ as well.