top | item 41009413

(no title)

johnjr | 1 year ago

I just wrote a post about how the Cpython is much faster without GIL:https://news.ycombinator.com/item?id=40988244

discuss

order

arp242|1 year ago

I mean, only the threaded version, which is expected. For tons of cases Python without the GIL is not just slower, but significantly slower; "somewhere from 30-50%" according to one of the people working on this: https://news.ycombinator.com/item?id=40949628

All of this is why the GIL wasn't removed 20 years ago. There are real trade-offs here.

BossingAround|1 year ago

How is single-threaded code slower without GIL?