计算机科学 > 程序设计语言
[提交于 2020年11月18日]
标题:RustViz: Interactively Visualizing Ownership and Borrowing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Rust is a systems programming language that guarantees memory safety without the need for a garbage collector by statically tracking ownership and borrowing events. The associated rules are subtle and unique among industry programming languages, which can make learning Rust more challenging. Motivated by the challenges that Rust learners face, we are developing RustViz, a tool that allows teachers to generate an interactive timeline depicting ownership and borrowing events for each variable in a Rust code example. These visualizations are intended to help Rust learners develop an understanding of ownership and borrowing by example. This paper introduces RustViz by example, shows how teachers can use it to generate visualizations, describes learning goals, and proposes a study designed to evaluate RustViz based on these learning goals.
提交历史
来自:Vishnu Reddy[v1] 2020年11月18日 星期三 00:19:27 UTC