Y
Hacker News
new
|
ask
|
show
|
jobs
by
fastball
1441 days ago
asyncio is still single-threaded due to the GIL.
2 comments
ikinsey
1441 days ago
While not ideal, this can be mitigated with multiprocessing. Python asyncio exposes interfaces for interacting with multiple processes [1].
[1]
https://docs.python.org/3/library/asyncio-eventloop.html#asy...
link
siekmanj
1441 days ago
True, but it's not trying to be multi-threaded, just concurrent.
link
[1] https://docs.python.org/3/library/asyncio-eventloop.html#asy...