News for hackers. Stuff that matters.
Re:The GIL and its effects on Python multithreading by OskarS on Wednesday September 29, 2021 @07:31AM (#28692371)
For number crunching it doesn’t matter, but I imagine it’s a much bigger issue if you want to run some kind of application server/webapp on a big beefy machine with lots of cores. That’s a thing you would want to run in something like Python, and the lack of parallelism is a real issue.
Re:The GIL and its effects on Python multithreading by xscott on Wednesday September 29, 2021 @11:07AM (#28694683)
If your application is I/O bound (web app), then you can get parallelism, even with the GIL. Each I/O call can (should) release the GIL before it waits on it's network packets.