paperbot · PL 论文追踪

RSS

Blame-Correct Support for Receiver Properties in Recursively-Structured Actor Contracts

ICFP 8(ICFP)2024引用 1
Bram Vandenbogaerde, Quentin Stiévenart, Coen De Roover

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

Actor languages model concurrency as processes that communicate through asynchronous message sends. Unfortunately, as the complexity of these systems increases, it becomes more difficult to compose and integrate their components. This is because of assumptions made by components about their communication partners which may not be upheld when they remain implicit. In this paper, we bring design-by-contract programming to actor programs through a contract system that enables expressing constraints on receiver-related properties. Expressing properties about the expected receiver of a message, and about this receiver’s communication behavior, requires two novel types of contracts. Through their recursive structure, these contracts can govern entire communication chains. We implement the contract system for an actor extension of Scheme, describe it formally, and show how to assign blame in case of a contract violation. Finally, we prove our contract system and its blame assignment correct by formulating and proving a blame correctness theorem.

链接与引用

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

BibTeX
@article{VandenbogaerdeS24,
  title = {Blame-Correct Support for Receiver Properties in Recursively-Structured Actor Contracts},
  author = {Bram Vandenbogaerde and Quentin Stiévenart and Coen De Roover},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {ICFP},
  year = {2024},
  doi = {10.1145/3674643}
}