News for hackers. Stuff that matters.
Re:A Design Space Exploration of Async/Await by jeremyjh on Saturday September 12, 2026 @09:24AM (#49672094)
This is only true in Javascript though - even though you have the same function coloring aspect in most other languages with async/await, the other ones do not come with this benefit since synchronous I/O is not only possible but the classical default.
Re:A Design Space Exploration of Async/Await by brabel on Saturday September 12, 2026 @10:15AM (#49672543)
I mostly do this in Dart (though even Dart also has sync IO, it’s just not supposed to be used often), but yeah other languages may not have this benefit.
Re:A Design Space Exploration of Async/Await by hombre_fatal on Saturday September 12, 2026 @12:45PM (#49674290)
Javascript's async-everything is really unique in a domain where async is almost always bolted on to synchronous-everything in some sort of incompatible subecosystem.
Re:A Design Space Exploration of Async/Await by skybrian on Sunday September 13, 2026 @07:07AM (#49682589)
Also, it’s only true in the browser. Node and Deno have sync I/O.

You still end up having to make a choice about whether your function should be async.