Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68210
| From | Marko Rauhamaa <marko@pacujo.net> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: which async framework? |
| Date | 2014-03-11 12:51 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <87siqpovo8.fsf@elektro.pacujo.net> (permalink) |
| References | <531E22DF.7030709@simplistix.co.uk> <mailman.8039.1394533075.18130.python-list@python.org> |
Sturla Molden <sturla.molden@gmail.com>: > Looking at Tornado's examples on the web I find this: > > [...] > > (1) This was written by some Java guys. I have written several Python async "frameworks" starting from select.epoll(). It's only a handful of lines of code (plus an AVL tree implementation for timers). Then, I've had to implement the protocols myself because the standard library implementations aren't amenable to async processing. Now, I've taken a brief look at the new asyncio and it looks as if it has everything one would hope for (and then some). You'd still need to supply the protocol implementations yourself. Since the async framework is such a small piece of the puzzle and since the edge-triggered mode of select.epoll() is a nicer programming model than asyncio provides, I might stick with epoll. (Yes, it is specific to linux.) Marko
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: which async framework? Sturla Molden <sturla.molden@gmail.com> - 2014-03-11 10:17 +0000
Re: which async framework? Marko Rauhamaa <marko@pacujo.net> - 2014-03-11 12:51 +0200
Re: which async framework? Sturla Molden <sturla.molden@gmail.com> - 2014-03-11 11:18 +0000
csiph-web