Better HN
topnewbestaskshowjobs
Log inSign up

hgftr

4 karma · joined May 13, 2023 (3y ago) · 3 submissions

Submissions

comment 3y ago · link · parent

It seems to me that he has tried to keep Python for the web relevant at Dropbox by adding typing and asyncio, but Dropbox switched to Golang.

Now he is trying to keep it relevant for the web by adding the small speedups.

(I say "he", actually most of the work is done by other people.)

comment 3y ago · link · parent

I don't see the GP expecting anything. GP talks about good engineering decisions, using C-extensions when appropriate would be one of those.

But C-extensions don't require the small speedups and additional interpreter complexity that this project brings.

comment 3y ago · link · parent

The largest number I have seen for microbenchmarks is around 50% speedup in comparison to the last version before this project started.

So, if that version was 40x slower than C (and that is very optimistic), the latest version is still 30x slower. That is the point that the GP made.

I would not call that substantial at all. I'd prefer to keep the CPython interpreter simple, people who want faster Python can use pypy or other things.

The real work in scientific Python will always be done in C or CUDA extensions. No 50% speedup will change anything.