News for hackers. Stuff that matters.
Re:Why choose async/await over threads? by lelanthran on Monday March 25, 2024 @03:50AM (#39813637)
> 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.

There are no comments on this comment yet.