paperbot · PL 论文追踪

全部论文 待读 收藏

P2 From Characters to Structure: Rethinking Real-Time Collaborative Programming Models

从字符到结构:重新思考实时协同编程模型
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 2/10 · 论文研究实时协同编程中的结构感知传播模型与开发者工具实现,属于软件工程/编程环境方向;但它不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户画像的核心研究问题没有直接交集。引用 1 inbox
Leon Freudenthaler, Bernhard Taufner, Karl Michael Göschka
crossref: 2026-09-12

AI 速览

一句话:提出结构感知的实时协同编程传播模型,仅同步语法有效变更,显著降低通信开销并保持可构建状态。

现有实时协同编程工具大多在文本层面同步,逐键传播包括语法非法内容在内的每次编辑,造成通信开销过大、频繁传播破坏可构建状态、同步质量差;在网络不稳时尤为明显,协作者被大量无用更新淹没,产生可感知的延迟。本文提出一种结构感知的传播模型,只传播语法有效的代码变更,并将其实现为 IntelliJ 插件。作者在八个代表性编程场景中,将该工具与 VS Code Live Share、Code With Me 和 Replit 三个工业标准工具进行对比。结果表明,该模型显著减少了所传播消息的数量与大小,同时保持程序状态一致且可构建,说明结构感知传播有望成为下一代实时协同编程环境的基础。

问题
现有实时协同编程工具在文本层逐键传播编辑(含语法非法内容),导致通信开销大、频繁传播破坏构建的状态,并在网络不稳时出现明显延迟。
方法
提出结构感知的传播模型,仅传输语法有效的代码变更;并将其实现为 IntelliJ 插件。
评估
在八个代表性编程场景中与 VS Code Live Share、Code With Me、Replit 进行对比,测量传播消息的数量与大小以及程序状态的可构建性。
原文摘要(Abstract)

Multiple programming tasks require synchronous collaboration between developers, giving rise to real-time collaborative programming tools that enable simultaneous editing of shared source code. However, most existing tools operate at the text level, propagating every keystroke–including syntactically invalid ones–without considering program structure. This results in excessive communication overhead, frequent propagation of build-breaking states, and poor synchronization. A major consequence is noticeable lag, especially under unstable network conditions, as collaborators are overwhelmed with unnecessary updates that disrupt their workflow and degrade the shared coding experience. In this paper, we introduce a novel structure-aware propagation model that transmits only syntactically valid code changes. For evaluation we implemented our tool as an IntelliJ plugin and evaluate it against three industry-standard tools–VS Code Live Share, Code With Me, and Replit–across eight representative programming scenarios. Our results show that it significantly lowers the number and size of propagated messages while maintaining consistent, buildable program states. Our findings demonstrate the potential of structure-aware propagation as a foundation for the next generation of real-time collaborative programming environments.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9259,
  title = {From Characters to Structure: Rethinking Real-Time Collaborative Programming Models},
  author = {Leon Freudenthaler and Bernhard Taufner and Karl Michael Göschka},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00221}
}