News for hackers. Stuff that matters.
Re:Python GIL removal question by ulrich on Friday August 12, 2011 @05:18PM (#2879298)
If you leave aside C-extensions and libraries, CPython is a pretty bad language for number crunching. This is just not the use-case it tries to solve. I am glad they favor simplicity over execution speed.

Removing the GIL might be useful for a faster implementation with JIT compiler though.

Re:Python GIL removal question by dman on Friday August 12, 2011 @05:40PM (#2879377)
CPython has numpy which rocks for number crunching.
Re:Python GIL removal question by rbanffy on Friday August 12, 2011 @08:37PM (#2879834)
And has no GIL problems.
Re:Python GIL removal question by cdavid on Saturday August 13, 2011 @04:12AM (#2880602)
This is not exactly true. We can alleviate the GIL issue by releasing it inside C extensions, true, but it is still there nonetheless. Incidentally, one of the big advantage of the GIL is to make C extensions easier to write.
Re:Python GIL removal question by rbanffy on Saturday August 13, 2011 @07:25AM (#2880771)
You can then call it The GIL Advantage ;-)

As long as you are not creating or destroying the Python objects you expect to give back to the Python side of your program, you don't have to care much about it.

Re:Python GIL removal question by dagw on Friday August 12, 2011 @06:02PM (#2879439)
CPython is a pretty bad language for number crunching

Perhaps, but thanks to numpy, scipy and a host of other amazing libraries it still ties with matlab as the go to language for number crunching among everyone I know who crunches numbers for a living.