文学化追踪
Literate Tracing
AI总结:
本文提出文学化追踪范式,用带注释的具体执行轨迹解释软件系统,并介绍工具TReX,已用于Linux内核、Git和GCC等大型系统。
摘要:
随着计算机系统变得日益庞大和复杂,软件开发中的一个关键任务是让一个人(系统专家)向另一个人(系统新手)传达某个程序是如何工作的。本文报告了作者在一种我们称之为文学化追踪的程序文档范式方面的经验。文学化追踪通过带注释的、具体的系统执行轨迹来解释软件系统。文学化追踪补充了代码内注释(通常缺乏全局上下文)和带外设计文档(通常缺乏与代码的具体联系)。我们还描述了TReX,这是我们用于制作文学化追踪的工具,这些追踪具有交互性、可视化,并且通过构造保证忠实于程序语义。我们已使用TReX编写了文学化追踪,解释了大型系统软件的组件,包括Linux内核、Git源代码控制系统和GCC编译器。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。