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 条
  • [21] Alice-Bob Peakon Systems
    楼森岳
    乔志军
    Chinese Physics Letters, 2017, 34 (10) : 5 - 8
  • [22] Alice and Bob: Reconciling Formal Models and Implementation
    Almousa, Omar
    Modersheim, Sebastian
    Vigano, Luca
    PROGRAMMING LANGUAGES WITH APPLICATIONS TO BIOLOGY AND SECURITY: ESSAYS DEDICATED TO PIERPAOLO DEGANO ON THE OCCASION OF HIS 65TH BIRTHDAY, 2015, 9465 : 66 - 85
  • [23] Benny Andrews, Alice Neel, Bob Thompson
    Molarsky, Mona
    ARTNEWS, 2012, 111 (05): : 109 - 109
  • [24] Can Alice and Bob Guarantee Output to Carol?
    Alon, Bar
    Omri, Eran
    Venkitasubramaniam, Muthuramakrishnan
    ADVANCES IN CRYPTOLOGY, PT V, EUROCRYPT 2024, 2024, 14655 : 32 - 61
  • [25] When classical bob meets quantum alice
    Marks, Paul
    NEW SCIENTIST, 2007, 196 (2626) : 32 - 32
  • [26] Multiple Soliton Solutions of Alice–Bob Boussinesq Equations
    李辉
    楼森岳
    Chinese Physics Letters, 2019, (05) : 22 - 26
  • [27] Asymmetric Gaussian steering: When Alice and Bob disagree
    Midgley, S. L. W.
    Ferris, A. J.
    Olsen, M. K.
    PHYSICAL REVIEW A, 2010, 81 (02):
  • [28] Exact Solutions of an Alice-Bob KP Equation
    吴文标
    楼森岳
    Communications in Theoretical Physics, 2019, 71 (06) : 629 - 632
  • [29] Multiple Soliton Solutions of Alice–Bob Boussinesq Equations
    李辉
    楼森岳
    Chinese Physics Letters, 2019, 36 (05) : 22 - 26
  • [30] MORAL FAILURE OF BOB-AND-CAROL-AND-TED-AND-ALICE
    DETWEILER, R
    JOURNAL OF POPULAR CULTURE, 1970, 4 (01): : 292 - 298