What are coroutines in C++20?
At an abstract level, Coroutines split the idea of having an execution state off of the idea of having a thread of execution. SIMD (single instruction multiple data) has multiple “threads of execution” but only one execution state (it just works on multiple data). Arguably parallel algorithms are a bit like this, in that you … Read more