which async framework?

Marko Rauhamaa marko at pacujo.net
Tue Mar 11 23:18:24 CET 2014


Gregory Ewing <greg.ewing at canterbury.ac.nz>:

> It's not "epoll function calls" that the coroutine style is intended
> to replace, it's complex systems of chained callbacks. They're
> supposed to make that kind of logic *easier* to follow. If you haven't
> had that experience, it may be because you've only dealt with simple
> cases.

The coroutines are definitely something to get into, although I'm
skeptical as well. Epoll and the associated idioms have been with us for
a long time and are well understood.

As for "easy to follow," unfortunately the complexities of network state
machines cannot be abstracted out, and the result is never exactly easy
to the eye.


Marko



More information about the Python-list mailing list