Hacker News new | ask | show | jobs
by chmike 3357 days ago
Callbacks (asyncio & gevent) are not the same as coroutines. You have to experience the callback hell to understand the difference.
2 comments

asyncio and gevent are coroutines, at least in all the senses that goroutines are.

In fact, so are regular post-PEP342 generators.

Asyncio does not use callbacks. It uses async/await syntax