Step in Tine: Forking Processes in Functional Choreographies
Ashley Samuelson, Zonghao Zou, Andrew K. Hirsch, Ethan Cecchetti
原文摘要
Choreographic programming allows a concurrent programmer to write one centralized program and compile it to individual programs for each system participant. This approach simplifies critical properties like deadlock freedom, but it complicates forking new processes, a core concurrent primitive. This work addresses that gap with the choreographic fork calculus $λ{\pitchfork}$, the first functional choreographic language with process spawning. $λ{\pitchfork}$ provides a deadlock-freedom guarantee while allowing programs to dynamically determine when to spawn new processes, what they will do, and who will communicate with them. All results are formalized in Lean.
cs.PL