3 ms·
It makes concurrent programming much simpler than using threads. Very few locking and care is needed with asyncio, as opposed to using threads. Race conditions
by 323 4y ago
It makes concurrent programming much simpler than using threads.
Very few locking and care is needed with asyncio, as opposed to using threads. Race conditions are basically not a thing if you write reasonably idiomatic code.
It might be (or not) faster than using threads, but that's not the main benefit in my view - this easiness of use is.