Re:A viable solution for Python concurrency
by lormayna on Friday October 15, 2021 @02:33PM
(#28881298)
Why not using something trio or curio?
They are quite easy to learn, very powerful and have an approach similar to channel in golang.
[ Parent
| on HN ]
Re:A viable solution for Python concurrency
by calpaterson on Friday October 15, 2021 @02:45PM
(#28881463)
Those are not multithreading, they are asynchronous io which is different. With asynchronous io in Python the only concurrency/parallelism you can do is for IO.
Multithreading in Python currently has the same limitation though but it needn't.
Re:A viable solution for Python concurrency
by synchronizing on Friday October 15, 2021 @02:42PM
(#28881426)
async != multithreading