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 条
  • [1] Modular Choreographies: Bridging Alice and Bob Notation to Java
    Cruz-Filipe, Luís
    Madsen, Anne
    Montesi, Fabrizio
    Peressotti, Marco
    OpenAccess Series in Informatics, 2023, 111
  • [2] Alice and Bob
    Gordon, John
    SECURITY PROTOCOLS, 2007, 4631 : 344 - 345
  • [3] Alice (and Bob) in Flatland
    Blundo, Elena
    Polimeni, Antonio
    NANO LETTERS, 2024, 24 (32) : 9777 - 9783
  • [4] Alice and Bob in Cipherspace
    Hayes, Brian
    AMERICAN SCIENTIST, 2012, 100 (05) : 362 - 367
  • [5] Disillusioning Alice and Bob
    Oppliger, Rolf
    IEEE SECURITY & PRIVACY, 2017, 15 (05) : 82 - 84
  • [6] Deconstructing Alice and Bob
    Caleiro, Carlos
    Vigano, Luca
    Basin, David
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 135 (01) : 3 - 22
  • [7] Bob & Carol & Ted & Alice
    Lucia, Cynthia
    CINEASTE, 2018, 43 (03): : 68 - 68
  • [8] Alice and Bob grow apart
    Bains, S
    LASER FOCUS WORLD, 2002, 38 (05): : 32 - 34
  • [9] In Alice and Bob, I trust?
    Wylde, Allison
    PROCEEDINGS OF THE 2023 EUROPEAN INTERDISCIPLINARY CYBERSECURITY CONFERENCE, EICC 2023, 2023, : 195 - 196
  • [10] Alice and Bob in an expanding spacetime
    Alexander, Helder
    de Souza, Gustavo
    Mansfield, Paul
    Sampaio, Marcos
    EPL, 2015, 111 (06)