arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~

Rust Coreutils:用现代语言重建Unix基础组件

Rust Coreutils: Rebuilding Unix Foundations in a Modern Language

Sylvestre Ledru, Samuel Tardieu, Stefano Zacchiroli

arXiv 2608.07135首次发表:更新:

发表机构

Debian; LTCI, Télécom Paris, Institut Polytechnique de Paris(德比安; 电信巴黎学院,巴黎理工学院 LTCI)

机构由 AI 辅助整理,请以论文原文为准。

AI 中文总结

本文介绍用Rust重新实现GNU coreutils的开源项目Rust coreutils,该项目已成为兼容多数Linux发行版的直接替代品,为关键软件的替代开发提供了见解,也凸显现代编程特性对遗留软件包开发的吸引力。

AI 中文摘要

GNU核心工具集(coreutils)是现代UNIX系统中的关键软件包,包含约100个基础命令,如ls、cp和cat,每天在数百万台计算机上运行。不过,GNU coreutils是遗留软件,其C代码库可追溯至20世纪90年代初,且功能已基本完善。若要重新实现这一重要软件包,该如何高效完成,原因何在?本文介绍Rust coreutils的开发过程,它是用Rust编程语言对GNU coreutils进行的当代开源重新实现,目前已成为GNU coreutils的直接替代品,兼容大多数Linux发行版。通过将Rust coreutils与其前身对比,本文为创建关键软件的可靠替代品提供了见解,并强调现代编程特性如何吸引对遗留软件包的开发兴趣。

英文摘要

GNU core utilities (coreutils) is a crucial package in modern UNIX systems. It comprises around 100 fundamental commands---like ls, cp, and cat---which run every day on millions of computers. However, GNU coreutils is also legacy software, with its C codebase dating back to the early 1990s and arguably feature-complete. If one were to consider reimplementing this essential package, how would they do so effectively, and why? This paper recounts the development of Rust coreutils, a contemporary open source reimplementation of GNU coreutils in the Rust programming language, which has reached the status of a drop-in replacement for GNU coreutils, compatible with most Linux distributions. By comparing Rust coreutils with its ancestor, we offer insights into creating a reliable substitute for critical software and highlight how modern programming features can attract development interest in legacy packages.

DOI:10.1109/MS.2026.3733266

论文原文

arXiv 摘要页 · PDF 原文 · HTML 原文

↑