Carnegie Mellon University
Browse

A Multimodal Study of Challenges Using Rust

Download (1.76 MB)
conference contribution
posted on 2023-03-30, 16:40 authored by Michael Coblenz, April Porter, Varun Das, Teja Nallagorla, Michael Hicks

Rust is a programming language that provides strong safety properties, but does so at a usability cost. We conducted an observational study of Rust learners and a thematic analysis of StackOverflow posts about Rust to identify opportunities for improvement in Rust’s usability. Key challenges that we observed included syntactic challenges posed by the ? operator, block-terminal statements, and automatic dereferencing; late delivery of error messages; and the opacity of Rust errors resulting in programmers being unable to identify whether their partial fixes represented progress. We describe a collection of opportunities for improvement that leverage the compiler and the IDE.

Funding

National Science Foundation under Grant No. 1801545

History

Date

2023-02-13

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC