Lune

OOPSLA2020顶会

Statically verified refinements for multiparty protocols

Fangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova, Nobuko Yoshida

摘要

With distributed computing becoming ubiquitous in the modern era, safe distributed programming is an open challenge. To address this, multiparty session types (MPST) provide a typing discipline for message-passing concurrency, guaranteeing communication safety properties such as deadlock freedom.

While originally MPST focus on the communication aspects, and employ a simple typing system for communication payloads, communication protocols in the real world usually contain constraints on the payload. We introduce refined multiparty session types (RMPST), an extension of MPST, that express data dependent protocols via refinement types on the data types.

We provide an implementation of RMPST, in a toolchain called Session ⋆ , using Scribble, a toolchain for multiparty protocols, and targeting F ⋆ , a verification-oriented functional programming language. Users can describe a protocol in Scribble and implement the endpoints in F ⋆ using refinement-typed APIs generated from the protocol. The F ⋆ compiler can then statically verify the refinements. Moreover, we use a novel approach of callback-styled API generation, providing static linearity guarantees with the inversion of control. We evaluate our approach with real world examples and show that it has little overhead compared to a naïve implementation, while guaranteeing safety properties from the underlying theory.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Deadlock-free asynchronous message reordering in rust with multiparty session types 引用了 CAMP: cost-aware multiparty session protocols
  • Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint Projection 引用了 Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes
  • Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint Projection 引用了 CAMP: cost-aware multiparty session protocols
  • Multris: Functional Verification of Multiparty Message Passing in Separation Logic 引用了 Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes
  • Multris: Functional Verification of Multiparty Message Passing in Separation Logic 引用了 Actris: session-type based reasoning in separation logic
  • Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processes 引用了 Actris: session-type based reasoning in separation logic
  • CAMP: cost-aware multiparty session protocols 引用了 Liquidate your assets: reasoning about resource usage in liquid Haskell
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Deadlock-free asynchronous message reordering in rust with multiparty session typesZak Cutner, Nobuko Yoshida, Martin VassorPPoPP 2022 · 28 次引用
  2. Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processesDavid Castro-Perez, Francisco Ferreira, Lorenzo Gheri, Nobuko YoshidaPLDI 2021 · 25 次引用
  3. CAMP: cost-aware multiparty session protocolsDavid Castro-Perez, Nobuko YoshidaOOPSLA 2020 · 16 次引用
  4. Multris: Functional Verification of Multiparty Message Passing in Separation LogicJonas Kastberg Hinrichsen, Jules Jacobs, Robbert KrebbersOOPSLA 2024 · 6 次引用
  5. Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint ProjectionLorenzo Gheri, Nobuko YoshidaOOPSLA 2023 · 5 次引用

它引用的 Paper3

  1. Actris: session-type based reasoning in separation logicJonas Kastberg Hinrichsen, Jesper Bengtson, Robbert KrebbersPOPL 2020 · 44 次引用
  2. Liquidate your assets: reasoning about resource usage in liquid HaskellMartin A. T. Handley, Niki Vazou, Graham HuttonPOPL 2020 · 38 次引用
  3. Label-dependent session typesPeter Thiemann, Vasco T. VasconcelosPOPL 2020 · 14 次引用

相关 Paper

  1. Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global ProtocolsKai Pischke, Nobuko YoshidaOOPSLA 2026
  2. A multiparty session typing discipline for fault-tolerant event-driven distributed programmingMalte Viering, Raymond Hu, Patrick Eugster, Lukasz ZiarekOOPSLA 2021 · 13 次引用
  3. Speak Now: Safe Actor Programming with Multiparty Session TypesSimon Fowler, Raymond HuOOPSLA 2026
  4. A Synthetic Reconstruction of Multiparty Session TypesDavid Castro-Perez, Francisco Ferreira, Sung-Shik JongmansPOPL 2026
  5. Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session TypesThien Udomsrirungruang, Nobuko YoshidaPOPL 2025 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖