Alice or Bob?: Process polymorphism in choreographies

被引:0
|
作者
Graversen, Eva [1 ]
Hirsch, Andrew k. [2 ]
Montesi, Fabrizio [1 ]
机构
[1] Univ Southern Denmark, Dept Math & Comp Sci, Odense, Denmark
[2] Univ Buffalo SUNY, Dept Comp Sci & Engn, Buffalo, NY 14068 USA
关键词
SESSION; CONCURRENT;
D O I
10.1017/S0956796823000114
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present PolyChor$\lambda$, a language for higher-order functional choreographic programming-an emerging paradigm for concurrent programming. In choreographic programming, programmers write the desired cooperative behaviour of a system of processes and then compile it into an implementation for each process, a translation called endpoint projection. Unlike its predecessor, Chor$\lambda$, PolyChor$\lambda$ has both type and process polymorphism inspired by System F$_\omega$. That is, PolyChor$\lambda$ is the first (higher-order) functional choreographic language which gives programmers the ability to write generic choreographies and determine the participants at runtime. This novel combination of features also allows PolyChor$\lambda$ processes to communicate distributed values, leading to a new and intuitive way to write delegation. While some of the functional features of PolyChor$\lambda$ give it a weaker correspondence between the semantics of choreographies and their endpoint-projected concurrent systems than some other choreographic languages, we still get the hallmark end result of choreographic programming: projected programmes are deadlock-free by design.
引用
收藏
页数:54
相关论文
共 50 条
  • [41] Automating Data Exchange in Process Choreographies
    Meyer, Andreas
    Pufahl, Luise
    Batoulis, Kimon
    Kruse, Sebastian
    Lindhauer, Thorben
    Stoff, Thomas
    Fahland, Dirk
    Weske, Mathias
    ADVANCED INFORMATION SYSTEMS ENGINEERING (CAISE 2014), 2014, 8484 : 316 - 331
  • [42] Execution Semantics for Process Choreographies with Data
    Lichtenstein, Tom
    Weske, Mathias
    BUSINESS PROCESS MANAGEMENT FORUM, BPM 2023 FORUM, 2023, 490 : 90 - 106
  • [43] Alice-Bob Physics: Coherent Solutions of Nonlocal KdV Systems
    Lou, S. Y.
    Huang, Fei
    SCIENTIFIC REPORTS, 2017, 7
  • [44] Alice and Bob Will Fight: The Problem of Electing a Committee in the Presence of Candidate Interdependence
    Uckelman, Joel
    ECAI 2010 - 19TH EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2010, 215 : 1023 - 1024
  • [45] Alice-Bob Physics: Coherent Solutions of Nonlocal KdV Systems
    S. Y. Lou
    Fei Huang
    Scientific Reports, 7
  • [46] Optoelectronic applications: Quantum cryptography - Alice and Bob beef up security
    Kincade, Kathy
    LASER FOCUS WORLD, 2006, 42 (05): : 109 - +
  • [47] The unconditional security of quantum key distribution - Alice, Bob, and Eve in quantumland
    Mor, T
    Roychowdhury, V
    QUANTUM COMMUNICATION, COMPUTING, AND MEASUREMENT 3, 2001, : 277 - 284
  • [48] Change Propagation Analysis and Prediction in Process Choreographies
    Fdhila, Walid
    Rinderle-Ma, Stefanie
    Indiono, Conrad
    INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2015, 24 (03)
  • [49] Realizability of Choreographies Using Process Algebra Encodings
    Salauen, Gwen
    Bultan, Tevfik
    INTEGRATED FORMAL METHODS, PROCEEDINGS, 2009, 5423 : 167 - +
  • [50] Realizability of Choreographies Using Process Algebra Encodings
    Salauen, Gwen
    Bultan, Tevfik
    Roohi, Nima
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2012, 5 (03) : 290 - 304