RustLIVE: Reducing the Learning Barriers of Rust Through Visualization

This innovative practice full paper introduces an independent learning tool for the Rust programming language. Secure software begins with secure memory management as over 65% of software vulnerabilities in modern code bases are the result of memory safety problems. Rust is a promising memory safe language that is rapidly gaining traction as a replacement for C and C++ in systems software. However, Rust is challenging due to its novel approach to memory safety. The Rust programming paradigm is focused on the principles of ownership and borrowing. These concepts effectively achieve memory and thread safety but are enforced at compile-time, enabling run-time performance comparable to C but posing significant implementation challenges for students and even experienced programmers. We propose an innovative visualization tool, RustLIVE, that clearly depicts the most difficult concepts of the Rust language. RustLIVE is an extension for VSCode, the IDE of choice for over 60% of Rust developers. Seamlessly integrated with the Rust compiler and its borrow checker, RustLIVE requires no code annotations. Instead, it extracts necessary information directly from the compiler to provide color-coded visual timelines that illustrate the ownership of memory resources and the liveness of borrows. RustLIVE is an innovative, independent learning tool that helps learners form a correct mental model, avoid unsafe code and improve student experience.

Authors

Institutions

Publication Details

Published
2024-10-13
DOI
https://doi.org/10.1109/fie61694.2024.10893207
Primary Topic
Forest Biomass Utilization and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RustLIVE: Reducing the Learning Barriers of Rust Through Visualization

Kyu Hyoung Lee, Mustakimur Rahman Khandaker, Diane Beightol Stephens
Forest Biomass Utilization and Management
article

RustLIVE: Reducing the Learning Barriers of Rust Through Visualization

Kyu Hyoung Lee, Mustakimur Rahman Khandaker, Diane Beightol Stephens
article en

Abstract

This innovative practice full paper introduces an independent learning tool for the Rust programming language. Secure software begins with secure memory management as over 65% of software vulnerabilities in modern code bases are the result of memory safety problems. Rust is a promising memory safe language that is rapidly gaining traction as a replacement for C and C++ in systems software. However, Rust is challenging due to its novel approach to memory safety. The Rust programming paradigm is focused on the principles of ownership and borrowing. These concepts effectively achieve memory and thread safety but are enforced at compile-time, enabling run-time performance comparable to C but posing significant implementation challenges for students and even experienced programmers. We propose an innovative visualization tool, RustLIVE, that clearly depicts the most difficult concepts of the Rust language. RustLIVE is an extension for VSCode, the IDE of choice for over 60% of Rust developers. Seamlessly integrated with the Rust compiler and its borrow checker, RustLIVE requires no code annotations. Instead, it extracts necessary information directly from the compiler to provide color-coded visual timelines that illustrate the ownership of memory resources and the liveness of borrows. RustLIVE is an innovative, independent learning tool that helps learners form a correct mental model, avoid unsafe code and improve student experience.

University of Georgia (US)
Openalex Percentile: Top 70%
Forest Biomass Utilization and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.