Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
morbia
3y ago
0 comments
Save
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
1 comments · 1 top-level
top
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