RustOS
in developmentOpen source2026
An x86-64 operating system written in Rust: a preemptive SMP kernel with ring-3 processes, a Linux-compatible system-call ABI, NVMe/AHCI/USB storage, FAT and ext2/3/4 filesystems, a full USB stack, an in-tree TCP/IP stack with wired, USB and Intel Wi-Fi 6E drivers, HTTPS, a POSIX-like shell and a small userland — all booted by UEFI.
Repository ↗GPL-2.0-or-laterSource ↗
RustUEFIxHCINVMeext4smoltcpWPA3muslQuickJS-ng
The kernel
Per-process address spaces with demand paging, copy-on-write fork, clone threads with futexes, a per-CPU scheduler with affinity, execve of static, PIE and dynamically linked ELF programs, POSIX signals and job control, and around 180 Linux system calls — across all cores, with IPI TLB shootdown.
Storage and USB
NVMe, AHCI, virtio-blk and USB mass storage; GPT/MBR; FAT12/16/32 read/write and ext2/ext3/ext4 read/write with jbd2 journal replay, extents and metadata checksums. The USB stack is interrupt-driven xHCI with hot-plug, hubs, bulk streams, HID report parsing and USB Attached SCSI.
Networking
An in-tree TCP/IP stack with DHCP, DNS, BSD sockets and drivers for Intel and Realtek NICs plus Intel AX210 Wi-Fi with WPA2-PSK and WPA3-SAE, over IPv4 and IPv6. wget speaks TLS 1.2/1.3, and browse is a lynx-like text browser with CSS layout, JavaScript (QuickJS-ng), forms, cookies, HTTPS and a graphical mode.
Userland
init, a POSIX-like shell, rbox (about 90 coreutils), four virtual consoles and pseudo-terminals. Upstream musl builds into a sysroot, so BusyBox, curl and the QuickJS engine compile and run unchanged.
Where it began
Built on the foundation of Philipp Oppermann's Writing an OS in Rust and grown well beyond it.