Rust is a system programming language that emphasizes both efficiency and memory safety. It achieves comparable efficiency with C/C++ by pursuing the concept of zero-cost abstraction and memory safety via its ownership scheme. As a side effect, these features may also steepen the learning curve for developers, potentially leading to the use of inefficient code in their programs. In this paper, we aim to investigate the characteristics of performance bugs that occur in real-world Rust projects. To this end, we have mined the repository of 100 well-known projects on GitHub and collected 122 performance bugs. We showcase two main findings including performance issues from Rust’s dynamic checking and memory management mechanisms. We hope our work can enhance the usability of Rust’s complex yet powerful language features, empowering developers to write safe, high-performance code more efficiently.
Tue 29 OctDisplayed time zone: Pacific Time (US & Canada) change
14:15 - 15:00 | |||
14:15 15mTalk | Efficient Code Causes Inefficiency in Compiler Optimizations Student Research Competition Hongyu Chen Nanjing University | ||
14:30 15mTalk | Finding Performance Issues in Rust Projects Student Research Competition Chenhao Cui Fudan University | ||
14:45 15mTalk | Mining and Recommending Mobile App Features using Data-driven Analytics Student Research Competition |