News for hackers. Stuff that matters.
Re:How fast can we make interpreted Python? by dexterous on Wednesday June 26, 2013 @12:24AM (#5944180)
I'm not denying that IO is important to a certain class of Python programs too; but I still can't see what leads to the conclusion that IO bound programs are the primary use case for Python. There are enough evented and async io libraries being built for just about every platform right now, that doesn't make IO the center of any of them.
Re:How fast can we make interpreted Python? by mateo411 on Wednesday June 26, 2013 @12:48AM (#5944261)
And then there is the GIL. So if you want to squeeze more performance out of your CPU bound task. You need to use the multiprocess module, because Python threading does not work well for CPU bound tasks.
Re:How fast can we make interpreted Python? by pekk on Wednesday June 26, 2013 @08:54AM (#5945666)
Since you are talking about CPU-bound tasks, it is relevant that numpy array operations release the GIL.
Re:How fast can we make interpreted Python? by mateo411 on Wednesday June 26, 2013 @09:28PM (#5950165)
True, you would have to write or use a Python extension written in C or C++.