News for hackers. Stuff that matters.
Re:Async Cancellation by rackjack on Friday November 12, 2021 @12:29AM (#29196560)
Tangential, but from my understanding async code can be modelled with algebraic effects. I am excited for when they finally get added to OCaml.
Re:Async Cancellation by slaymaker1907 on Friday November 12, 2021 @04:37AM (#29197658)
Algebraic effects are way more powerful than async/await because they don't have the function color program. Higher order functions can work with both async and non-async functions and are only async if their input is async.
Re:Async Cancellation by rackjack on Friday November 12, 2021 @12:21PM (#29201908)
Yes, that's why I'm excited for them.