Passing DBs through continuations

(remy.wang)

56 points | by remywang 2 days ago ago

6 comments

  • tenwz1 5 hours ago

    Long before AI psychosis, there was FP psychosis, clinically defined as the intense psychological response to understanding functional programming concepts like recursion, higher order functions, monads, or in this case, continuation passing style.

  • DevelopingElk 4 hours ago

    CPS is a way of embedding imperative computation into an FP language. I think they built a mini compiler for their binary relation language, which is then Jitted by Julia.

  • unrealhoang 4 hours ago
    • fredrikholm 3 hours ago

      Continuations predate transducers by some ~40 years and are mostly used as a means of control flow, but yes they are very similar.

      Transducers are specialized to data transformation pipelines, continuations are a form of control flow from which you can derive a lot of cool things (exceptions, time travel debugging etc).