News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by samus on Saturday July 29, 2023 @07:02AM (#36918976)
PEP-703 contains a whore Motivation section. Long enough to require a summary:

> Python’s global interpreter lock makes it difficult to use modern multi-core CPUs efficiently for many scientific and numeric computing applications. Heinrich Kuttler, Manuel Kroiss, and Paweł Jurgielewicz found that multi-threaded implementations in Python did not scale well for their tasks and that using multiple processes was not a suitable alternative.

> The scaling bottlenecks are not solely in core numeric tasks. Both Zachary DeVito and Paweł Jurgielewicz described challenges with coordination and communication in Python.

> Olivier Grisel, Ralf Gommers, and Zachary DeVito described how current workarounds for the GIL are “complex to maintain” and cause “lower developer productivity.” The GIL makes it more difficult to develop and maintain scientific and numeric computing libraries as well leading to library designs that are more difficult to use.

Re:No-GIL mode coming for Python by chx on Saturday July 29, 2023 @08:55AM (#36919826)
Your comment has been nominated for the best typo in 2023.

Let's hope the change is not this badly mercenary.

Re:No-GIL mode coming for Python by ShamelessC on Saturday July 29, 2023 @11:36AM (#36921279)
What?
Re:No-GIL mode coming for Python by samus on Monday July 31, 2023 @04:16AM (#36939973)
Yes, in the first line. Only spotted it now, totally my bad. It's a very not nice word to say to women, and what it makes it worse is that it actually doesn't outright destroy the meaning of the sentence. I'm sure PEP-703's authors are not that desperate about enacting this change.