Asterinas builds a general-purpose OS kernel in Rust with a Linux-compatible ABI. It uses a framekernel design with safe Rust above a small unsafe core.
Overview
Asterinas is an open-source operating system project that reimplements a Linux-compatible kernel in Rust from a clean slate rather than incrementally patching C code. The framekernel architecture keeps unsafe Rust in a compact OSTD layer while most kernel code stays in safe Rust.
The design cites lessons from Linux but allows new choices such as CortenMM for memory management scalability. OSDK tooling is meant to make building and testing kernel code closer to ordinary Rust application workflows.
The project reports years of active development, hundreds of Linux syscall compatibility, and an experimental Asterinas NixOS distribution with an ISO installer. Tiered CPU support spans x86-64, ARM64, RISC-V, LoongArch, and Intel TDX variants at different maturity levels.
2026 priorities emphasize production readiness for standard and confidential VMs. Asterinas NixOS is community-led and not affiliated with the NixOS Foundation.
Key features
- Rust framekernel architecture
- Linux ABI compatibility
- OSDK kernel development toolkit
- Asterinas NixOS distribution
- DRM graphics subsystem
- Secure container guest support
- Tiered multi-architecture support
Use cases
- Kernel research platforms
- Memory-safe OS experimentation
- Confidential VM exploration