On Mar 19, 2013, at 10:35 AM, Saul St. John wrote: > Regarding pt 1: does running POX under PyPy allow for the program to take > simultaneous advantage of all the cores in a multiprocessor machine? IOW, > does PyPy not suffer from the "single executing thread" limitation that > CPython's GIL imposes?
Unfortunately, no. PyPy still has a global lock. Removing the global lock in a language designed with one in mind is pretty hard. BUT, you can pass the lock between threads better than CPython 2 does. CPython 3 actually does better. POX is actually built with the GIL limitation in mind. Really leveraging multiple cores would require a more complex programming model. POX keeps the simpler model because the limitation is inescapable anyway. -- Murphy
