News for hackers. Stuff that matters.
Re:Algebraic Effects for the Rest of Us by kazinator on Wednesday July 24, 2019 @07:39PM (#20521234)
Algebraic effects are synchronous; they can't be a generalization of async anything, because that uses threads.

A generalization has to do everything that the specialization does, like dispatch on multiple processors.

The synchronous version of async/await is delay/force; that is just macrology over some lambdas.

Re:Algebraic Effects for the Rest of Us by dgudkov on Saturday July 27, 2019 @02:49AM (#20540747)
Not all implementations of async are thread-based. For instance, in C# it's task-based. In F# it's thread-based.