[pypy-dev] Need help in concluding Multi-Thread based model thoughts between Python and PyPy

Dan Stromberg drsalists at gmail.com
Tue Oct 30 23:53:25 CET 2012


On Tue, Oct 30, 2012 at 9:33 AM, David Ripton <dripton at ripton.net> wrote:

> On 10/30/2012 11:19 AM, Sasikanth Eda wrote:
>
>  I have tried to perform a CPU intensive operation ( which typically
>> involved calculation of prime numbers from 1-100000 ) using
>> Multi-process and Multi-Thread models provided by
>> C, Python-2.6, PyPy-1.9.
>>
>

> For now, you will not be happy with multiple CPU-bound threads in CPython
> or PyPy, because of the GIL.  Jython is free-threaded but is slow in other
> ways.  If you insist on using threads for CPU-bound work, you will probably
> be happier with another language.
>

I've actually found Jython rather slow to start up, but decent once it's
loaded.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20121030/7559248e/attachment.html>


More information about the pypy-dev mailing list