Hacker News new | ask | show | jobs
by ycuser2 1189 days ago
I don't think that async/await is about to make things faster. It's about to run things things in parallel. For example, you can run long tasks with making your GUI unresponsive.
2 comments

1. Running things in parallel is always about making things faster. (For example, putting a long-running task on a background thread is about making the main thread faster).

2. We already have a way of making things run in parallel: threads and processes.

See the first code example in the fine article. The OS

Yeah it depends on what you're doing. If you're doing a lot of IO probably makes sense. Not running long tasks tho. I don't think that's a good use in Python at least.