Proceedings of the ACM on Programming Languages · 2023 · 19 citations · 34 references
ComputingComputer ScienceCompilersProgramming LanguagesSystems ProgrammingControl-flow AnalysisData-flow AnalysisGarbage CollectionMemory SafetyType CheckingType SystemsBorrow CheckingConceptual Model DevelopmentNew Instrument DesignOwnership ConceptOwnership Type SystemsOwnership TypesPerson KnowledgeProgram Comprehension
Programmers learning Rust struggle to understand ownership types, Rust’s core mechanism for ensuring memory safety without garbage collection. This paper describes our attempt to systematically design a pedagogy for ownership types. First, we studied Rust developers’ misconceptions of ownership to create the Ownership Inventory, a new instrument for measuring a person’s knowledge of ownership. We found that Rust learners could not connect Rust’s static and dynamic semantics, such as determining why an ill-typed program would (or would not) exhibit undefined behavior. Second, we created a conceptual model of Rust’s semantics that explains borrow checking in terms of flow-sensitive permissions on paths into memory. Third, we implemented a Rust compiler plugin that visualizes programs under the model. Fourth, we integrated the permissions model and visualizations into a broader pedagogy of ownership by writing a new ownership chapter for The Rust Programming Language , a popular Rust textbook. Fifth, we evaluated an initial deployment of our pedagogy against the original version, using reader responses to the Ownership Inventory as a point of comparison. Thus far, the new pedagogy has improved learner scores on the Ownership Inventory by an average of 9
34
The Measurement of Observer Agreement for Categorical Data
J. Richard Landis, Gary G. Koch · Biometrics · 1977 · 78.9K citations · Full text
Jean-Yves Girard · Theoretical Computer Science · 1987 · 4.1K citations
David Hestenes, Gregg Swackhamer · The Physics Teacher · 1992 · 3.2K citations
2017 USENIX Annual Technical Conference (USENIX ATC'17)
Do Le Quoc, Martin S. Beck, Pramod Bhatotia et al. · 2017 · 3.1K citations
Some Difficulties of Learning to Program
Benedict du Boulay · Journal of Educational Computing Research · 1986 · 640 citations
Education, Instruction, Teaching +13