Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68272

Re: which async framework?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rewrite': 0.09; 'python': 0.11; 'antoine': 0.16; 'boards': 0.16; 'mmap': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:which': 0.16; 'twisted': 0.16; 'wrote:': 0.18; 'library': 0.18; 'all,': 0.19; 'module': 0.19; '>>>': 0.22; 'code,': 0.22; 'select': 0.22; 'header:User-Agent:1': 0.23; 'either.': 0.24; 'frameworks': 0.24; 'header:X-Complaints-To:1': 0.27; 'testing': 0.29; 'chris': 0.29; "i'm": 0.30; 'directly,': 0.31; 'writes:': 0.31; 'probably': 0.32; 'figure': 0.32; 'device': 0.34; "i'd": 0.34; 'subject:?': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'days': 0.60; 'map': 0.64; 'pick': 0.64; 'drivers': 0.74; 'actually,': 0.84; 'pci': 0.84; 'received:139': 0.84; 'yourself?': 0.84; 'edwards': 0.91; 'regions': 0.93; 'directly.': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Neal Becker <ndbecker2@gmail.com>
Subject Re: which async framework?
Date Wed, 12 Mar 2014 07:16:23 -0400
References <531E22DF.7030709@simplistix.co.uk> <1733040935416225908.878896sturla.molden-gmail.com@news.gmane.org> <mailman.8049.1394553908.18130.python-list@python.org> <lfnf02$q0c$1@reader1.panix.com>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host exa2-in-fw-01-epn.hns.com
User-Agent KNode/4.12.3
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8083.1394622996.18130.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394622996 news.xs4all.nl 2884 [2001:888:2000:d::a6]:44656
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68272

Show key headers only | View raw


Grant Edwards wrote:

> On 2014-03-11, Antoine Pitrou <solipsis@pitrou.net> wrote:
>> Sturla Molden <sturla.molden <at> gmail.com> writes:
>>> 
>>> Chris Withers <chris <at> simplistix.co.uk> wrote:
>>> > Hi All,
>>> > 
>>> > I see python now has a plethora of async frameworks and I need to try
>>> > and pick one to use from:
>>> > 
>>> > - asyncio/tulip
>>> > - tornado
>>> > - twisted
>>> 
>>> I'd go for using iocp, epoll and kqueue/kevent directly. Why bother to
>>> learn a framework? You will find epoll and kqueue/kevent in the select
>>> module and iocp in pywin32.
>>
>> Yes, why use a library when you can rewrite it all yourself?
>> Actually, you should probably issue system calls to the kernel directly,
>> the libc is overrated (as is portability, I suppose).
> 
> And don't bother with device drivers for the network adapters either.
> Just map their PCI regions in to user-space and twiddle the reigisters
> directly!  ;)
> 
> [I do that when testing PCI boards with C code, and one of these days
> I'm going to figure out how to do it with Python.]
> 

Use numpy with mmap

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: which async framework? Antoine Pitrou <solipsis@pitrou.net> - 2014-03-11 16:01 +0000
  Re: which async framework? Grant Edwards <invalid@invalid.invalid> - 2014-03-11 16:52 +0000
    Re: which async framework? jkn <jkn_gg@nicorp.f9.co.uk> - 2014-03-11 10:13 -0700
    Re: which async framework? Neal Becker <ndbecker2@gmail.com> - 2014-03-12 07:16 -0400

csiph-web