News for hackers. Stuff that matters.
Re:Python and Async Simplified (2018) by morbia on Saturday October 22, 2022 @09:12AM (#33298049)
The GIL gets even more complicated than that because it can also be released during CPU bound tasks that don't interact with python objects (e.g. Array operations in numpy)
Re:Python and Async Simplified (2018) by zzzeek on Saturday October 22, 2022 @11:39AM (#33299182)
Right, if your cpu tasks are running in native extensions, then threading will actually allow parallelism, whereas asyncio will not.