Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lelanthran
on March 25, 2024
|
parent
|
context
|
favorite
| on:
Why choose async/await over threads?
> IMO the biggest reason to avoid threads is simply that it's ~impossible to write safe code using threads (e.g. without race conditions).
Javascript has race conditions too, even with no threads involved.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Javascript has race conditions too, even with no threads involved.