News for hackers. Stuff that matters.
Re:Implementing Algebraic Effects in C by rraval on Sunday July 30, 2017 @05:14PM (#14887866)
This is super interesting and I'm still going through the paper. For folks with a "Cool, but why" reaction, the introduction elaborates:

  For example, the P language [10] is a language for describing verifiable asyn-
  chronous state machines, and used for example to implement and verify the core
  of the USB device driver stack that ships with Microsoft Windows 8. Compiling
  to C involves a complex CPS-style transformation [19, 26] to enable async/await
  style programming [5] with a receive statement – using the effects library this
  transformation is no longer necessary and we can generate straightforward C
  code instead. Similarly, we hope to integrate this library with libuv [29] (the
  asynchronous C library underlying Node [43]) and improve programming with
  libuv directly from C or C++ using async/await style abstractions [12, 27]
Since the linked abstract doesn't actually mention this practical application, consider this comment as a goad to encourage more people to click through to the paper :)
Re:Implementing Algebraic Effects in C by zengid on Sunday July 30, 2017 @06:55PM (#14888306)
It should be noted that the previous sentence before your quote is: "For now, we mainly see the library as a target for library writers or compilers."
Re:Implementing Algebraic Effects in C by mannykannot on Monday July 31, 2017 @08:03AM (#14891131)
Your caveat is well-taken, but you can learn a lot from what is done in these fields.
Re:Implementing Algebraic Effects in C by Matthias247 on Monday July 31, 2017 @03:51AM (#14890178)
Couldn't these kind of goals also be reached with the upcoming C++ coroutines (also pioneered by Microsoft)? I remember some presentation that those (or at the least the LLVM implementation underneath it) could also be used for C.