[Python-ideas] Why CPython is still behind in performance for some widely used patterns ?
pfreixes at gmail.com
Thu Feb 1 10:34:24 EST 2018
Maybe it is happening but not in the way that you would expect
Anyway, do we conclude, or at least a significant part, that is something
desiderable but some constraints do not allow to work on that?
Also, more technically Iwouls like to have your point of view of two
questions, sorry if these sound kind stupid.
1) Is CPython 4 a good place to start to think on make the default
execution mone debuggale. Having an explicit -g operand that by default is
disabled, shouldnt be an open window for changing many thinks behind the
2) Regarding the Yuris proposal to cache bultin functions, why this
strategy cant be used for objects and their attributes within the function
scope? Technically which is the red flag?
El 29/01/2018 18:10, "Brett Cannon" <brett at python.org> escribió:
> 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".
>> Python-ideas mailing list
>> Python-ideas at python.org
>> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas