[pypy-dev] GIL removal in PyPy (was: Re: Threaded interpretation)

Paolo Giarrusso p.giarrusso at gmail.com
Sat Jan 3 19:36:29 CET 2009


Hi Armin,

On Sat, Jan 3, 2009 at 16:33, Armin Rigo <arigo at tunes.org> wrote:
>> > Note that it would also be possible to do
>> > that in CPython (but it would be even more work).

>> That has been proven to be false :-).

> Wrong.  For example, Jython is such an example, showing that we "can" do
> it even in C (becauce anything possible in Java is possible in C, given
> enough efforts).  I know it has been tried several times over the course
> of the CPython development, but never succeeded.  That's why I'm saying
> it would be even more work in CPython than in PyPy.

Obviously what can be done in Java can be done in C, but atomic
refcount manipulation is too expensive, so that, again, would require
dropping refcounting; in fact Jython has no refcounting.

Regards
-- 
Paolo Giarrusso



More information about the Pypy-dev mailing list