by gitgud · 7y ago · 0 comments
So if it's still single-threaded, then this is basically a cumbersome async/await right?
Duff’s device along with the __LINE__ trick enables the creation of automatic DFAs useful to generate coroutines, protothreads and async/await alike.