Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
morbia
3y ago
0 comments
Share
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)
0 comments
default
newest
oldest
zzzeek
3y ago
Right, if your cpu tasks are running in native extensions, then threading will actually allow parallelism, whereas asyncio will not.
j
/
k
navigate · click thread line to collapse