This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, exarkun, gvanrossum
Date 2012-10-09.16:09:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349798954.84.0.328560890888.issue16175@psf.upfronthosting.co.za>
In-reply-to
Content
Guido has expressed [1] that he like to see IOCP support in the stdlib for the grant unified asyncore interface.

Quote from MSDN [2]:
---
I/O completion ports provide an efficient threading model for processing multiple asynchronous I/O requests on a multiprocessor system. When a process creates an I/O completion port, the system creates an associated queue object for requests whose sole purpose is to service these requests. Processes that handle many concurrent asynchronous I/O requests can do so more quickly and efficiently by using I/O completion ports in conjunction with a pre-allocated a  thread pool than by creating threads at the time they receive an I/O request.
---

I've found a couple of interfaces to IOCP in Python projects. Twisted [3] has a Cython based interface to the IOCP API, Cogen [4] uses ctypes wrapper. I couldn't find IOCP support in Tornado. I favor a C implementation over ctypes. What's our attitude to Cython? Personally I like Cython and use it in several projects but I'm not sure if we shall use it in core development.

Christian

[1] http://mail.python.org/pipermail/python-ideas/2012-October/016539.html
[2] http://msdn.microsoft.com/en-us/library/aa365198%28VS.85%29.aspx
[3] http://twistedmatrix.com/trac/browser/trunk/twisted/internet/iocpreactor/iocpsupport/
[4] http://code.google.com/p/cogen/source/browse/trunk/cogen/core/proactors
History
Date User Action Args
2012-10-09 16:09:14christian.heimessetrecipients: + christian.heimes, gvanrossum, exarkun
2012-10-09 16:09:14christian.heimessetmessageid: <1349798954.84.0.328560890888.issue16175@psf.upfronthosting.co.za>
2012-10-09 16:09:14christian.heimeslinkissue16175 messages
2012-10-09 16:09:14christian.heimescreate