3 ms·
Every several years people reinvent serializable continuations
by fiddlerwoaroof 11mo ago
Every several years people reinvent serializable continuations
- andersmurphy 11mo agoHaha so true. Shame image based programming never really caught on. Janet lang lets you serialize coroutines which is fun. Make this sort of stuff trivial.
- gunnarmorling 11mo agoYupp, making that same point in the post :) > You could think of [Durable Execution] as a persistent implementation of the memoization pattern, or a persistent form of continuations.
- smitty1e 11mo agoIs this reinvention somehow "transactional" in nature?
- rileymichael 11mo agounfortunately they've never really taken off so folks reach for explicit state machines instead. there have been a handful of options on the jvm over the years (e.g. quasar, kilim) but they're all abandoned now, the loom continuation API is internal with no hint of it becoming public, kotlin's aren't serializable and the issue is inactive (https://github.com/Kotlin/kotlinx.coroutines/issues/76 https://github.com/Kotlin/kotlinx.coroutines/issues/76), etc.. such a shame