News for hackers. Stuff that matters.
Re:The GIL and its effects on Python multithreading by slaymaker1907 on Wednesday September 29, 2021 @01:56PM (#28697413)
In the article, Victor brings up a good point that the GIL can lead to some nasty scheduling with IO. If you have some thread doing computationally expensive stuff and other threads responding to HTTP requests, the computationally intensive thread ends up hogging the CPU.

When a thread has been waiting for IO, you often want to switch to it as soon as the IO is finished in order to keep the system responsive. So the biggest issue with the GIL seems to be more about scheduling and less about actually having true concurrent threads in Python.

There are no comments on this comment yet.