计算机科学 > 软件工程
[提交于 2025年10月10日]
标题:Literate Tracing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:As computer systems grow ever larger and more complex, a crucial task in software development is for one person (the system expert) to communicate to another (the system novice) how a certain program works. This paper reports on the author's experiences with a paradigm for program documentation that we call literate tracing. A literate trace explains a software system using annotated, concrete execution traces of the system. Literate traces complement both in-code comments (which often lack global context) and out-of-band design docs (which often lack a concrete connection to the code). We also describe TReX, our tool for making literate traces that are interactive, visual, and guaranteed by construction to be faithful to the program semantics. We have used TReX to write literate traces explaining components of large systems software including the Linux kernel, Git source control system, and GCC compiler.
提交历史
来自:Matthew Sotoudeh[v1] 2025年10月10日 星期五 07:17:51 UTC