~/talk

Visualizing and Explaining Rust's Ownership Model

Talkat IWACO 2024 · on Monday, 2024-10-21· [rust, developer-experience]
slides:none on file

Provides a concrete claim: embedding an auto-generated permissions model visualization (driven from the compiler MIR and a hooked MIR interpreter) into a Rust textbook improves ownership learning by about 9 percentage points (effect size ~0.56). The tool extracts borrow-checker facts (Polonius-compatible), shows flow-sensitive permission changes, and generates counterfactual heap/stack traces for code that fails to compile. Evaluation uses a data-derived ownership inventory from Stack Overflow examples and an A/B deployment with ~150 completers per condition.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Why ownership is hard
  3. 3:07Concept inventory for ownership
  4. 8:43Misconceptions in studies
  5. 15:25New pedagogy for ownership
  6. 19:17Dynamic semantics visualization
  7. 21:44Static semantics with permissions
  8. 27:29Design decisions behind visualization
  9. 34:49Refining the visual model
  10. 38:43Limitations and open problems
  11. 44:38Diagrams in Rust textbook
  12. 46:24Evaluating pedagogy vs baseline
  13. 49:55Results and improvements
  14. 50:18Live demo and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.