Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'linux,': 0.07; 'combines': 0.09; 'module)': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'windows': 0.15; 'aix': 0.16; 'different,': 0.16; 'paradigms': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'solaris,': 0.16; 'subject:which': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'bit': 0.19; '(the': 0.22; 'header:User-Agent:1': 0.23; 'looks': 0.24; "i've": 0.25; 'header:X-Complaints-To:1': 0.27; 'yourself.': 0.31; 'probably': 0.32; 'another': 0.32; "i'd": 0.34; 'knows': 0.35; 'but': 0.35; 'there': 0.35; 'subject:?': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'guy': 0.60; 'hope': 0.61; 'new': 0.61; 'effectively': 0.66; 'day': 0.76 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Sturla Molden Subject: Re: which async framework? Date: Tue, 11 Mar 2014 11:18:58 +0000 (UTC) References: <87siqpovo8.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 39-172-11.connect.netcom.no User-Agent: NewsTap/4.0.1 (iPad) X-: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1394536768 news.xs4all.nl 2920 [2001:888:2000:d::a6]:48760 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68212 Marko Rauhamaa wrote: > 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. Tulip (the new async module) is nice. But I am a bit confused as to how it combines the IOCP model on Windows with the "readyness" signalling (epoll, kqueue) on Linux, *BSD and Apple. Because these paradigms are so inherently different, I don't see how both can be used effectively with the same client code. But Guido/BDFL is a smart guy and probably knows this better than me :) Another thing is that there is no IOCP support on Solaris, AIX and z/OS using Tulip, only Windows. But Windows is not the only OS with IOCP. I'd prefer that over /dev/poll any day (does Tulip use /dev/poll by the way?) Sturla