[Python-ideas] Python 3000 TIOBE -3%

Sturla Molden sturla at molden.no
Thu Feb 9 20:44:23 CET 2012


On 09.02.2012 20:34, Matt Joiner wrote:
> Linux user here. I'm not sure that IOCP solve the I/O concurrency
> issue anyway, it's just as convoluted as polling from memory.

On Linux processes are so light-weight that you can fork (os.fork) 
instead of spawning threads. Threads are typically needed for Java, 
Solaris and Windows, where forking is either slow or not possible.

But if you need really scalable I/O on Linux, consider select/poll or epoll.

And on FreeBSD and Mac there is kqueue.

Sturla








More information about the Python-ideas mailing list