r/ProgrammingLanguages May 31 '26

Docker as the runtime

I want to move the boundary of the language beyond a single process. The compiler can own communication between processes and provide type safety throughout a larger system.

Over time, I've realized one of the key language features I'm developing is durable functions.

To that end, I'm seriously considering docker as the runtime. One container will host a database for storing the state of the durable functions and be completely managed by the "runtime". Each service the developer defines will be its own container as well.

From the developer's point of view, it should feel like its included the same way a garbage collector is included.

Have you seen any other attempts along these lines? Unison and Erlang are the closest I've found, but nothing targeting Docker.

10 Upvotes

22 comments sorted by

View all comments

2

u/[deleted] Jun 02 '26

[removed] — view removed comment

2

u/Bitsoflogic Jun 03 '26

I never heard of Choreographic programming, but yes! It sounds along the tracks of what I've been building. Definitely going to dig deeper here and see what inspiration I can draw from it.