Hackbraten 10 hours ago

Multithreading is not a prerequisite for async in Python. The default task executor runs in a single thread. So using async APIs should be safe as long as you stick to the single-threaded executor.

  • ashishb 9 hours ago

    Good point. Have you seen any major advantage of using async API in practice?

gnabgib 11 hours ago

But you don't recommend it? (33 points, 38 comments) https://news.ycombinator.com/item?id=43297671

  • ashishb 10 hours ago

    I don't recommend it.

    But for certain use-cases, as mentioned in the article itself, it is unavoidable.

    Further, you might be working at a company that has decided to use Python, and you can make Python more efficient and effective using these suggestions.