by coldtea · 3y ago · 0 comments
So, let me get this straight, some of those working in the project to "make CPython faster", think it's acceptable to overnight make most existing Python code 15-20% slower?
I'd say max 5% and that if the gil removal was a benefit to other optimizations going forward (they say the opposite: the change with complicate and stall their other optimizations).
Meanwhile, Shannon had a fundraising proposal for him personally "speeding up CPython" 5x back in 2020. Now it's a whole team working on speeding up CPython with much larger corporate support, and it seems their targets are quite smaller?
And for those that do not use multiprocess, rewriting their currently single threaded Python code for no-gil shared-concurrency will indeed bring a speedup, but would still be a significant rewrite.
Also there are people using Python for things like web serving, where performance might have been secondary to convenience when they picked Python, but still a sudden 15-20% slowdown will seriously impact their server budgets (or ability to update versions)...
Then why do we care about GIL removal at all?
Some of the recent performance improvements came out of the no-gil camp to show that there was significant room for improvement even with the gil removed.
> (they say the opposite: the change with complicate and stall their other optimizations).
So they wont actually be stopped, it will just take them a bit longer?
That's the level of 2.7.
I seems that the old boys are desperate for some bullet point features for the next release to impress their corporate masters. So they use the work of Sam Gross, but they will slowly get the credit over time.
In a PL-fantasy-league they would just heavily sponsor Lars Bak to create a team and work on a new Python interpreter!
As for your fantasy, we already have PyPy.
The initial selling point was ~ 5x speedup over 5 years.
This is over a year now, with far more people and resources plus the backling of a major industry-player (MS), and it's been like 20%-30% improvements at best, and even those in danger to be wiped out by the no-gil change.
>As for your fantasy, we already have PyPy.
That's nowhere near Lars Bak level fantasy results...