4 ms·
The article casts this as a coroutine, but it's straightforward to translate this Go code into any language that supports multiple threads. Is this actually a c
by millstone 8y ago
The article casts this as a coroutine, but it's straightforward to translate this Go code into any language that supports multiple threads. Is this actually a coroutine?
- solidsnack9000 8y agoWith coroutines, only one routine is executing at a time. If you simulate that with threads (using locks) it is also coroutines.