On Tue, Oct 30, 2012 at 9:33 AM, David Ripton <[email protected]> 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.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to