Oh absolutely! Adam Dunkels' work is legendary.
It's kind of poetic that Protothreads achieved stackless concurrency via C preprocessor macros and Duff's device tricks, and now years later, C++20 finally baked that exact same "state machine via switch-case" logic directly into the compiler.
Same spirit, just less macro magic! :)
lixiasky|11 days ago
srean|11 days ago
https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html