[pypy-dev] GIL

Phyo Arkar phyo.arkarlwin at gmail.com
Sun Feb 26 06:11:02 EST 2017


Currenly focus is on PyPy3.5 right? will there be continuation of
development after PyPy3.5?

On Sun, Feb 26, 2017 at 4:59 PM Yury V. Zaytsev <yury at shurup.com> wrote:

> On Sun, 26 Feb 2017, Sebastian K via pypy-dev wrote:
>
> > can someone explain me why pypy needs the gil? In CPython the main
> > reason is the reference counting but pypy doesnt use reference counting.
>
> The main reason is not the reference counting itself, but rather that the
> garbage collector (which happens to use reference counting) is not
> thread-safe. It is true that PyPy's garbage collectors do not use
> reference counting, but in itself, this doesn't make them any
> thread-safer. On top of that, there are more subtle issues to take care
> of, so instead of working towards removing the GIL, the decision was made
> to investigate a completely different approach to parallelization (STM):
>
> http://doc.pypy.org/en/latest/faq.html#does-pypy-have-a-gil-why
>
> --
> Sincerely yours,
> Yury V. Zaytsev
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20170226/140afa3e/attachment.html>


More information about the pypy-dev mailing list