News for hackers. Stuff that matters.
Re:V8 adds support for top-level await by minitech on Tuesday September 24, 2019 @06:45PM (#21065444)
> All this async code without decent locking primitives is leading to a rabbit hole of race conditions...

I haven’t seen this happening. Maybe it’s because I tend to use Node for web apps too much, which don’t have much shared state within Node to begin with? That it’s single-threaded does matter immensely, though, because if you have shared state that can be updated synchronously, you just write the code and know that it runs as a unit.

There are no comments on this comment yet.