arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2609.11000cs.HCcs.PL

ShellVis:用于Shell脚本的沙箱化实时编程

ShellVis: Sandboxed Live Programming for Shell Scripts

  • University of Washington(华盛顿大学)

机构由 AI 辅助整理,请以论文原文为准。

Joshua Horowitz, Jeffrey Heer

AI总结:

ShellVis通过沙箱化文件系统实现Shell脚本的实时编程,提供逐行反馈,帮助用户安全调试并增强信心。

AI中文摘要:

实时编程通过在程序被编辑时运行和追踪程序,为程序员提供可见性。然而,对于具有潜在有害副作用的程序,实时性可能将错误转变为灾难。我们提出通过沙箱化在具有副作用的环境中实现实时编程:将效果限制在真实环境的模拟中。我们将沙箱化实时编程应用于Shell脚本这一具有挑战性的场景:一种普遍且强大——但众所周知地不透明且易出错——的工具。ShellVis提供对Shell脚本运行时行为的逐行反馈,文件操作通过文件系统的安全覆盖层进行沙箱化。一项定性用户评估发现ShellVis对参与者有帮助,取代了繁琐的现有实践并增强了信心。参与者的反馈也揭示了未来研究的领域,特别是弥合执行鸿沟和评估鸿沟。ShellVis作为沙箱化如何将实时编程技术引入许多副作用重要的现实世界编程环境的案例研究。

英文摘要:

Live programming provides visibility to programmers by running and tracing programs as they are edited. However, for programs with potentially harmful side effects, liveness can turn mistakes into disasters. We propose enabling live programming in environments with side effects via sandboxing: confining effects to a simulation of the true environment. We apply sandboxed live programming in the challenging context of shell scripting: a ubiquitous and powerful---yet notoriously opaque and error-prone---tool. ShellVis provides line-by-line feedback on a shell script's run-time behavior, with file operations sandboxed via a safe overlay of the file system. A qualitative user evaluation finds ShellVis to be helpful to participants, replacing tedious existing practices and instilling confidence. Participant responses also reveal areas for future research, particularly bridging the gulf of execution alongside the gulf of evaluation. ShellVis serves as a case study of how sandboxing can bring live-programming techniques into the many real-world programming contexts where side effects are important.

↑