|
|
|
|
|
by scanr
988 days ago
|
|
This is pretty neat. Somewhat related: I’ve been intrigued by serialisable continuations forever. The idea of machine and time independent control flow in a regular programming language could be quite useful eg: response = send_email_and_wait_for_response(“hi!”, timeout=“4d”)
|
|
Imagine an extremely robust job queue submission but also let you move computation through a network. Like Capnproto promise pipelines, you can resume computation on another computer, so rather than paying for round trips, you just move the computation through the network. You ask another computer to do something, and it handles the processing of the result on that machine.
I find Temporal [0] interesting for this reason and recently there was a HN post about Telescript.
I am designing a syntax for async pipelines that resembles a state machine that ideally would handle events occurring on different machines too but I'm specifically targeting multithreaded events with the goal of microservices. [1]
0: https://temporal.io/
1: https://github.com/samsquire/dream-programming-language#intr...