paperbot · PL 论文追踪

全部论文 待读 收藏

P2 From Clarity to Efficiency for Distributed Algorithms

从清晰到高效:面向分布式算法
TOPLAS 39(3)2017匹配度 3/10 · 论文属于程序语言、领域特定语言与编译器优化方向,涉及形式语义和逻辑量化实现,具备一定 PL 理论+工程色彩;但它不涉及 LLM/Agent、静态分析、浮点程序分析或贝叶斯程序分析,与用户画像的核心交叉点距离较远。引用 53 inbox
Yanhong A. Liu, Scott D. Stoller, Bo Lin
dblp: 2026-09-10crossref: 2026-09-10arxiv: 2026-09-10

AI 速览

一句话:提出一种高层分布式算法语言及自动优化,将复杂同步条件转为增量更新,从而高效实现逻辑量化。

该文研究如何既保持分布式算法高层、清晰的描述方式,又避免基于消息历史序列的逻辑量化同步条件导致低效执行和无界内存。作者设计了一种高层分布式算法语言,给出其操作语义,并提出新优化:在消息收发时自动将复杂同步条件转换为必要辅助值的增量更新,其核心是首个通用且高效实现逻辑量化的方法。文中还实现了编译器与优化原型,并在多种重要分布式算法上成功应用。评估表明,该语言与实现能够支撑从清晰描述到高效执行的转换。

问题
如何用高层语言清晰描述分布式算法,同时避免对消息历史序列进行逻辑量化所带来的极低效率和无界内存消耗。
方法
设计高层分布式算法语言并给出操作语义,提出将复杂同步条件自动转换为辅助值增量更新的优化,核心是高效实现逻辑量化的通用方法,并实现编译器原型。
评估
通过编译器与优化原型,在多种重要分布式算法上实际使用该语言和实现,验证其可行性与有效性。
原文摘要(Abstract)

This article describes a very high-level language for clear description of distributed algorithms and optimizations necessary for generating efficient implementations. The language supports high-level control flows in which complex synchronization conditions can be expressed using high-level queries, especially logic quantifications, over message history sequences. Unfortunately, the programs would be extremely inefficient, including consuming unbounded memory, if executed straightforwardly. We present new optimizations that automatically transform complex synchronization conditions into incremental updates of necessary auxiliary values as messages are sent and received. The core of the optimizations is the first general method for efficient implementation of logic quantifications. We have developed an operational semantics of the language, implemented a prototype of the compiler and the optimizations, and successfully used the language and implementation on a variety of important distributed algorithms.

链接与引用

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

BibTeX
@article{LiuSL17,
  title = {From Clarity to Efficiency for Distributed Algorithms},
  author = {Yanhong A. Liu and Scott D. Stoller and Bo Lin},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {39},
  number = {3},
  year = {2017},
  doi = {10.1145/2994595}
}