News for hackers. Stuff that matters.
Re:How JavaScript works: Event loop and the rise of Async pr... by rco8786 on Saturday October 14, 2017 @12:02PM (#15472730)
Do you have an example? I’ve never seen a deadlock in Js. I’m trying to think of how it’s even possible? Async/await is just super around promises anyway.
Re:How JavaScript works: Event loop and the rise of Async pr... by Jizzle on Saturday October 14, 2017 @12:32PM (#15472906)
Oops, should've specified C# specifically, in which deadlock has become notorious. I don't think there's anything wrong with async/await per se. It looks to me like the linearity of js engine event loops wouldn't produce the same problem.
Re:How JavaScript works: Event loop and the rise of Async pr... by rco8786 on Monday October 16, 2017 @07:26PM (#15487476)
Ohh gotcha, shoulda picked up on the context :)