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 条
  • [31] An Empirical Study of Fault Triggers in the Linux Operating System: An Evolutionary Perspective
    Xiao, Guanping
    Zheng, Zheng
    Yin, Beibei
    Trivedi, Kishor S.
    Du, Xiaoting
    Cai, Kai-Yuan
    IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (04) : 1356 - 1383
  • [32] Beyond Memory Safety: an Empirical Study on Bugs and Fixes of Rust Programs
    Zhang, Chengquan
    Feng, Yang
    Zhang, Yaokun
    Dai, Yuxuan
    Xu, Baowen
    2024 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2024, : 272 - 283
  • [33] An Empirical Study Into the Success of Listed Smart Contracts in Ethereum
    Hartel, Pieter
    Homoliak, Ivan
    Reijsbergen, Daniel
    IEEE ACCESS, 2019, 7 : 177539 - 177555
  • [34] An Empirical Study Evaluating Social Networking Continuance and Success
    French, Aaron M.
    Shim, J. P.
    Otondo, Robert F.
    Templeton, Gary T.
    JOURNAL OF COMPUTER INFORMATION SYSTEMS, 2018, 58 (04) : 353 - 362
  • [35] Web searchers' attributions of success and failure: an empirical study
    Mansourian, Yazdan
    Ford, Nigel
    JOURNAL OF DOCUMENTATION, 2007, 63 (05) : 659 - 679
  • [36] Determinants of Success in Competitive Sames: Empirical Study in Mexico
    Estrada Barcenas, Roberto
    Garcia Perez de Lema, Domingo
    Sanchez Trejo, Victor Gabriel
    REVISTA VENEZOLANA DE GERENCIA, 2009, 14 (46) : 169 - 182
  • [37] PREDICTING SUCCESS OF THEATRICAL MOVIES - AN EMPIRICAL-STUDY
    LITMAN, BR
    JOURNAL OF POPULAR CULTURE, 1983, 16 (04): : 159 - 175
  • [38] An Empirical Study of E-commerce Marketing Success
    Treesinthuros, Wasin
    2012 TENTH INTERNATIONAL CONFERENCE ON ICT AND KNOWLEDGE ENGINEERING, 2012, : 10 - 13
  • [39] Factors Affecting the Success of Online Branding: An Empirical Study
    Eid, Riyad
    Al Sharief, Raja Yahya
    Hussein, Laila
    INTERNATIONAL JOURNAL OF ONLINE MARKETING, 2011, 1 (04) : 20 - 32
  • [40] Clusters, networks and firms' product success: an empirical study
    Giuliani, Elisa
    MANAGEMENT DECISION, 2013, 51 (06) : 1135 - 1160