Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Hendrikto
on March 25, 2024
|
parent
|
context
|
favorite
| on:
Why choose async/await over threads?
> If you are IO bound, consider threads. This is almost the same as async / await.
Only in Python.
> if you are compute bound you need to think about processes.
Also only in Python.
cryptonector
on March 25, 2024
[–]
If you're using threads then consider not using Python. Or, just consider not using Python.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Only in Python.
> if you are compute bound you need to think about processes.
Also only in Python.