[Python-ideas] Why CPython is still behind in performance for some widely used patterns ?

Brett Cannon brett at python.org
Mon Jan 29 12:10:39 EST 2018

On Sat, Jan 27, 2018, 23:36 Pau Freixes, <pfreixes at gmail.com> wrote:

> > At a technical level, the biggest problems relate to the way we
> > manipulate frame objects at runtime, including the fact that we expose
> > those frames programmatically for the benefit of debuggers and other
> > tools.
> Shoudnt be something that could be tackled with the introduction of a
> kind of "-g" flag ? Asking the user to make explicit that is willing
> on having all of this extra information that in normal situations
> won't be there.
> >
> > More broadly, the current lack of perceived commercial incentives for
> > large corporations to invest millions in offering a faster default
> > Python runtime, the way they have for the other languages you
> > mentioned in your initial post :)
> Agree, at least from my understanding, Google has had a lot of
> initiatives to improve the JS runtime. But at the same moment, these
> last years and with the irruption of Asyncio many companies such as
> Facebook are implementing their systems on top of CPython meaning that
> they are indirectly inverting on it.

I find that's a red herring. There are plenty of massive companies that
have relied on Python for performance-critical workloads in timespans
measuring in decades and they have not funded core Python development or
the PSF in a way even approaching the other languages Python was compared
against in the original email. It might be the feeling of community
ownership that keeps companies from making major investments in Python, but
regardless it's important to simply remember the core devs are volunteers
so the question of "why hasn't this been solved" usually comes down to
"lack of volunteer time".


> --
> --pau
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180129/f10acd3c/attachment.html>

More information about the Python-ideas mailing list