[Python-Dev] Let's change to C API! (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Jul 30 05:01:20 EDT 2018


Hi Victor,

On Sun, 29 Jul 2018 21:47:51 +0200 Victor Stinner <vstinner at redhat.com> wrote:

I just sent an email to the capi-sig mailing list. Since this mailing list was idle for months, I copy my email here to get a wider audience. But if possible, I would prefer that you join me on capi-sig to reply ;-) -- Hi, Last year, I gave a talk at the Language Summit (during Pycon) to explain that CPython should become 2x faster to remain competitive. IMHO all attempts to optimize Python (CPython forks) have failed because they have been blocked by the C API which implies strict constraints.

Well, that's your opinion, but did you prove it? Which CPython forks did you examine that failed because of the C API?

The one area I know of where the C API is a strong barrier to improvement is removing the GIL, and I'd rather let Larry speak about it.

Regards

Antoine.



More information about the Python-Dev mailing list