First Python 2.7 interpreter to use multiple cores
mail.python.org
First Python 2.7 interpreter to use multiple cores
1–10 of 42 posts
Re: First Python 2.7 interpreter to use multiple cores
#2Re: First Python 2.7 interpreter to use multiple cores
#3I'm not following this. Does it mean the GIL is finally gone?
Re: First Python 2.7 interpreter to use multiple cores
#4I'm not following this. Does it mean the GIL is finally gone?
Note that this is independent of CPython development.
Re: First Python 2.7 interpreter to use multiple cores
#5Re: First Python 2.7 interpreter to use multiple cores
#6Re: First Python 2.7 interpreter to use multiple cores
#7To be a bit pedantic: the multiprocess module works fine for multiple cores in regular cpython, I actually used it for a little graphics program I wrote. Nice to see the GIL gone for multithreading though :)
[1] You may argue (correctly) that multiprocessing and using pipes to communicate is a better solution than threads to begin with (for many applications). However, sometimes a threaded solution is the right solution and previously if you needed threads python didn't work for you.
Re: First Python 2.7 interpreter to use multiple cores
#8To be a bit pedantic: the multiprocess module works fine for multiple cores in regular cpython, I actually used it for a little graphics program I wrote. Nice to see the GIL gone for multithreading though :)
It isn't pedantic just irrelevant. Using multiprocess is an entirely different beast than using threads. All shared values have to explicitly allocated that way in shared memory. Since there is a separate interpreter for each process there is no problem with internal state getting messed up. Threads are just a harder problem for python and one which has never seen an effective solution.[1] That is why this kind of wo…
Re: First Python 2.7 interpreter to use multiple cores
#9I'm not following this. Does it mean the GIL is finally gone?
Also it's not CPython. Technically, if you want the GIL to be gone on Python in general you can already use IronPyton or Jython which do not use a global interpreter lock.
Re: First Python 2.7 interpreter to use multiple cores
#10I'm not following this. Does it mean the GIL is finally gone?
Current documentation: https://bitbucket.org/pypy/pypy/raw/stm-thread/pypy/doc/stm....
The plan: http://pypy.org/tmdonate.html