RustViz: 소유권과 빌로우를 상호작용적으로 시각화
RustViz: Interactively Visualizing Ownership and Borrowing
RustViz: Interactively Visualizing Ownership and Borrowing
@misc{luo2020rustviz,
title = {RustViz: Interactively Visualizing Ownership and Borrowing},
author = {Gongming (Gabriel) Luo and Vishnu Reddy and Marcelo Almeida and Yingying Zhu and Ke Du and Cyrus Omar},
year = {2020},
eprint = {2011.09012},
archivePrefix = {arXiv},
primaryClass = {cs.PL},
url = {https://arxiv.org/abs/2011.09012}
}
Luo, G. (., Reddy, V., Almeida, M., Zhu, Y., Du, K., & Omar, C. (2020). RustViz: Interactively Visualizing Ownership and Borrowing [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.09012
LUO G(, REDDY V, ALMEIDA M, et al. RustViz: Interactively Visualizing Ownership and Borrowing[EB/OL]. (2020-11-18)[2026-11-29]. https://arxiv.org/abs/2011.09012.
초록
Rust 은 소유권과 빌로우링 이벤트를 정적으로 추적함으로써 garbage collector 가 필요하지 않은 메모리 안전성을 보장하는 시스템 프로그래밍 언어입니다. 이에 따른 규칙은 산업용 프로그래밍 언어들 사이에서 세밀하고 독특하여 Rust 를 배우는 데 어려움을 줄 수 있습니다. Rust 학습자가 직면한 이러한 도전을 바탕으로, 우리는 Rust 코드 예제 내의 각 변수에 대한 소유권과 빌로우링 이벤트를 시각화하는 인터랙티브 타임라인을 생성할 수 있도록 하는 도구인 RustViz 를 개발하고 있습니다. 이러한 시각화 자료는 Rust 학습자가 예시를 통해 소유권과 빌로우링에 대한 이해를 발전시키는 데 도움을 주도록 설계되었습니다. 본 논문은 RustViz 를 예시 통해 소개하고, 교사가 이를 활용하여 시각화를 생성하는 방법을 보여주며, 학습 목표를 정의하고 이러한 목표에 기반하여 RustViz 를 평가하기 위한 연구를 제안합니다.
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.