paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Type Discipline for Message Passing Parallel Programs

消息传递并行程序的类型规约
TOPLAS 44(4)2022匹配度 2/10 · 论文研究消息传递并行程序的类型系统与死锁/终止保证,属于经典形式化方法与并发理论,但未涉及用户核心关注的 LLM/Agent、静态分析在 AI 系统中的应用、浮点程序分析或贝叶斯程序分析,因此匹配度低。引用 4 inbox
Vasco T. Vasconcelos, Francisco Martins, Hugo-Andrés López, Nobuko Yoshida
crossref: 2026-09-10

AI 速览

一句话:提出 ParTypes 类型规约,为消息传递并行程序规定协议,并保证类型检查可判定、良类型程序无死锁且终止。

论文提出 ParTypes,一种用于消息传递并行程序的类型规约。其模型由固定数量的并行进程组成,进程通过集合操作或点对点同步消息交换进行通信;类型刻画每个进程在程序中必须遵循的协议。作者给出了类型理论、一个核心命令式语言及其操作语义,并在此基础上证明类型检查是可判定的(在语义蕴含可判定的前提下),同时证明良类型程序不会死锁且总能终止。文中还用大量来自并行编程文献的示例说明该类型规约的表达能力与用法。

问题
如何为通过消息传递通信的并行程序建立类型规约,使每个进程遵循的通信协议可被静态检查,并保证程序无死锁、终止。
方法
定义 ParTypes 类型理论、核心命令式并行语言及其操作语义,建立类型检查算法并给出可靠性证明(相对语义蕴含可判定性)。
评估
通过可判定性证明与无死锁/终止性定理进行理论评估,并用大量来自并行编程文献的示例进行说明。
原文摘要(Abstract)

We presentParTypes, a type discipline for parallel programs. The model we have in mind comprises a fixed number of processes running in parallel and communicating via collective operations or point-to-point synchronous message exchanges. A type describes a protocol to be followed by each processes in a given program. We present the type theory, a core imperative programming language and its operational semantics, and prove that type checking is decidable (up to decidability of semantic entailment) and that well-typed programs do not deadlock and always terminate. The article is accompanied by a large number of examples drawn from the literature on parallel programming.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1601,
  title = {A Type Discipline for Message Passing Parallel Programs},
  author = {Vasco T. Vasconcelos and Francisco Martins and Hugo-Andrés López and Nobuko Yoshida},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {44},
  number = {4},
  year = {2022},
  doi = {10.1145/3552519}
}