Hacker News new | ask | show | jobs
by hota_mazi 973 days ago
That's really not the conclusion, and not something you should seriously do.

The rule of thumb should be:

- Is your task CPU bound? Put it in a thread pool.

- Is your task spending most of its time waiting (e.g. network call)? Use a coroutine