News for hackers. Stuff that matters.
Re:Python stands to lose its GIL, and gain a lot of speed by didip on Sunday October 17, 2021 @06:55PM (#28900508)
This is because Python, by luck, ended up dominating the data science market.

In this market you really want to shuffle tons of data quickly, and that’s usually achieved through parallelism.

Python multiprocess library does a poor job at that.

Re:Python stands to lose its GIL, and gain a lot of speed by anthk on Sunday October 17, 2021 @06:56PM (#28900523)
That's calling C and Fortran in the background, actually.
Re:Python stands to lose its GIL, and gain a lot of speed by Mehdi2277 on Sunday October 17, 2021 @08:51PM (#28901153)
That’s a workaround that is not as ergonomic as writing python more directly. The person working on this Gil project is one of the major maintainers of a key ml library. They have used c/c++ binding approach but want to make life easier and be able to multi thread directly in python.
Re:Python stands to lose its GIL, and gain a lot of speed by mechanical_bear on Sunday October 17, 2021 @09:14PM (#28901306)
By luck? I think that is a bit reductionist.
Re:Python stands to lose its GIL, and gain a lot of speed by sillysaurusx on Sunday October 17, 2021 @09:51PM (#28901481)
It wasn't entirely Python's inborn merits. For example, we don't use the best language for each task today. Instead, we use whatever language our coworkers and other companies use, which we often convince ourselves is the best language for a task.

The timing was critical, and although Python may be the Facebook of languages, one can't discount that it was extraordinarily lucky for Guido to be in the precise time and place to capitalize on good design choices.

Re:Python stands to lose its GIL, and gain a lot of speed by senderista on Sunday October 17, 2021 @10:32PM (#28901707)
Ditto with Ruby and web dev. The language was never designed with that application in mind (and very few people used it for that when I got into Ruby around 2000). Path dependence mostly accounts for the ubiquity of Python in science and Ruby in web dev; it just as easily could have gone the other way around.