Teaching Rust + Code Recommendations For Beginners
summary
Course uses a dataset of over 100 real memory bugs and reports Rust prevents most memory-safety crashes because the CVEs found are API-soundness examples that trigger without unsafe code; students finish four graded coding exercises (lists, generics, iterators, Send/Sync) typically in two hours with one outlier taking eight. The research builds a knowledge base of common Rust mistakes, extracts an attributed control-flow graph, trains a graph neural network, and hooks recommendations into the language server protocol; method needs hundreds of samples but runs in-editor.
AI-written summary · about
