ferrule-os: a ~1,900-LOC Rust microkernel that pushes even NIC drivers out of Ring 0
prescott · x · 2026-11-29
- A viral repost introduces ferrule-os, an open-source capability-oriented x86-64 microkernel written from scratch in nostd Rust with zero external crate dependencies.
- Motivation: Linux assumed trustworthy kernel code on 90s hardware; today high performance means bypassing the kernel or injecting code into Ring 0 (XDP/DPDK style), while any single driver bug can compromise the whole system — bloated conntrack being a infamous example.
- Design: Ring 0 is only 1,920 LOC — no POSIX, VFS, network stack, drivers, heap allocator, or global locks, just a hardware-protection and capability ledger. Even the NIC driver runs in Ring 3 with POSIX pushed to userspace, keeping zero-copy/no-global-lock design plus dual-mapped memory and Intel VT-d IOMMU isolation.
More from Infra
- Greg Mushen mocks claim that orbiting satellites risk asteroid hits amid data center debate — gregmushen · 2026-11-29
- RSI's whole point is automated discovery of compute-efficient AI, argues teortaxesTex — teortaxesTex · 2026-11-29
- Huawei Atlas 150 AI card shown in detail, reportedly with Ascend 950PR inside — teortaxesTex · 2026-11-29
- Hand-written CUDA kernels boost DGX Spark MoE inference 340x, from 0.15 to 51.4 tok/s — AIFlow_ML · 2026-11-29
- Hillary Clinton calls space data centers "crazy talk", but the bet logic favors letting SpaceX try — JHochderffer · 2026-11-29
- vLLM puts agentic KV cache on NVMe: within 1% of DRAM, far cheaper — AccBalanced · 2026-11-29