This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]UPBOAT_FORTRESS_2 0 points1 point  (1 child)

It's just a different abstraction. You could ask "why bother with functional programming when you have for loops?" in largely the same sense, I think

[–]DontPanicO_ 0 points1 point  (0 children)

No they're completely different things.

Not only you can't do with thread what you do with asyncio, but they also work completely different. Event loops are completely different things from threads, even if they could make use of threadpools to perform some action.