An Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise

被引:0
|
作者
Li, Hongyu [1 ]
Guo, Liwei [2 ]
Yang, Yexuan [1 ]
Wang, Shangguang [1 ]
Xu, Mengwei [1 ]
机构
[1] Beijing Univ Posts & Telecommun, Beijing, Peoples R China
[2] Univ Elect Sci & Technol China, Chengdu, Peoples R China
基金
国家重点研发计划;
关键词
CHECKER;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Developed.for over 30 years, Linux has already become the computing foundation for today's digital world; from gigantic, complex :mainframes (e.g., supercomputers) to cheap, wimpy embedded devices (e.g., IoTs), countless applications are built: on top of it. Yet, such an infrastructure has been plagued by numerous memory and concurrency hugs since the day it was born, due to many rogue memory operations are permitted by C language. A recent project Rust-for-Linux (RFL) has the potential to address Linux's safety concerns once and for all by embracing Rust's static ownership and type checkers into the kernel code, the kernel may finally be free from memory and concurrency bugs without hurting its performance, While it has been gradually matured and even merged into Linux mainline, however, RP I. is rarely studied and still remains unclear whether it has indeed reconciled the safety and performance dilemma for the kernel. To this end, we conduct the first empirical study on RFL to understand its status quo and benefits, especially/on how Rust fuses with I and whether the fusion assures driver safety without overhead, We collect and analyze 6 key RH, drivers, which involve hundreds of issues and PRs, thousands of Github commits and mail exchanges of the Linux mailing list, as well as over 12K discussions on Zulip. We have found while Rust mitigates kernel vulnerabilities, it is beyond Rust's capability to fully eliminate them; what is more, if not handled properly, its safety assurance even costs the developers dearly in terms of both runtime overhead and development efforts.
引用
收藏
页码:425 / 443
页数:19
相关论文
共 50 条
  • [21] Investigating the Android Apps' Success: An Empirical Study
    Guerrouj, Latifa
    Baysal, Olga
    2016 IEEE 24TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2016,
  • [22] Trust and Electronic Government Success: An Empirical Study
    Teo, Thompson S. H.
    Srivastava, Shirish C.
    Jiang, Li
    JOURNAL OF MANAGEMENT INFORMATION SYSTEMS, 2008, 25 (03) : 99 - 131
  • [23] SUCCESS FACTORS OF INDUSTRIAL SERVICES - AN EMPIRICAL STUDY
    Amberg, Michael
    Holm, Timo
    Gepp, Michael
    ANNALS OF DAAAM FOR 2009 & PROCEEDINGS OF THE 20TH INTERNATIONAL DAAAM SYMPOSIUM, 2009, 20 : 129 - 130
  • [24] Strategic orientation and export success: An empirical study
    Wood, VR
    Robertson, KR
    1996 AMA EDUCATORS' PROCEEDINGS, VOL 7 - ENHANCING KNOWLEDGE DEVELOPMENT IN MARKETING, 1996, 7 : 102 - 103
  • [25] Antecedents of Crowdfunding Project Success: An Empirical Study
    Hou, Jie
    Wang, Nianxin
    Ge, Shilun
    FOURTEENTH WUHAN INTERNATIONAL CONFERENCE ON E-BUSINESS, 2015, : 610 - 617
  • [26] Empirical study of management consulting success in Korea
    Jang Y.
    Suh K.
    Lee J.
    Asia Pacific Journal of Management, 1997, 14 (2) : 165 - 183
  • [27] Success in construction management of dams: an empirical study
    Amies, Pouya
    Jin, Xiaohua
    Senaratne, Sepani
    INTERNATIONAL JOURNAL OF CONSTRUCTION MANAGEMENT, 2024,
  • [28] Determinants of success for online communities: an empirical study
    Lin, Hsiu-Fen
    Lee, Gwo-Guang
    BEHAVIOUR & INFORMATION TECHNOLOGY, 2006, 25 (06) : 479 - 488
  • [29] How to communicate when submitting patches: An empirical study of the Linux kernel
    Tan, Xin
    Zhou, Minghui
    Proceedings of the ACM on Human-Computer Interaction, 2019, 3 (CSCW)
  • [30] An Empirical Study on the Quality of Entropy Sources in Linux Random Number Generator
    Du, Mingshu
    Ma, Yuan
    Lv, Na
    Chen, Tianyu
    Jia, Shijie
    Zheng, Fangyu
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2022), 2022, : 559 - 564