Coroutine explained yet again 60 years later
Mikhail Maslo - 7 months ago
As strange as it might seem, it's been 60 years since coroutines saw the light in the work of Melvin Conway. Today I suggest exploring how his first notion of coroutines evolved. How these new words appeared - stackless or stackfull, symmetric or asymmetric in the context of coroutines. And how coroutine's implementation in modern languages affects solved problems. Curiously, it's been relatively recently that modern Web-application languages picked up coroutines on board - we'll discuss what real-world tasks coroutines solve and how they saved us from callback hells and brought ease in the field of multithreading.