从安全内核到可用系统:星绽NixOS发行版发布,加速OS行业向Rust迁移
Huan Qiu Wang·2025-12-26 09:01

Core Viewpoint - Asterinas has launched Asterinas NixOS, the first distribution featuring a pure Rust operating system kernel, marking a significant step towards native memory safety in the OS industry [1][2]. Group 1: Asterinas NixOS Overview - Asterinas NixOS integrates a pure Rust kernel with the mature software ecosystem of NixOS, transitioning from a kernel project to a usable system [1]. - The project has been developed over three years, contributing 130,000 lines of Rust code and supporting over 230 Linux system calls [2]. - The release signifies a milestone, enabling Asterinas to support a user space for installation and experience [2]. Group 2: Technical Advantages - Asterinas NixOS is built on the innovative "framekernel" architecture, providing high performance and security compared to traditional OS kernels [2]. - It inherits the "system state stability reproduction" feature from NixOS, allowing developers to automatically construct systems based on specified software and configuration needs, ensuring consistent results across different machines and times [3]. - The integration with NixOS's extensive software ecosystem, which includes over 120,000 packages, allows Asterinas NixOS to avoid starting from scratch, facilitating a quicker transition to a mature system [3]. Group 3: Industry Trends and Future Plans - The trend in the industry is shifting towards native memory safety, with major players like Microsoft planning to migrate core codebases to Rust by 2030 [1][4]. - Asterinas NixOS aims to establish a reproducible and comparable baseline in real application loads, positioning itself at the forefront of memory-safe kernel engineering [4]. - The latest version, Asterinas 0.17.0, meets core user needs for desktop and server environments, with plans for deployment in secure computing and trusted data spaces by 2026 [4].