ferrule-os

edwardwc

A minimal capability-oriented x86-64 microkernel written in no_std Rust featuring zero-copy DAG networking, a POSIX sandbox, and IOMMU isolation.

RustCreated

What is edwardwc/ferrule-os?

Ferrule is a minimal, capability-oriented x86-64 microkernel written from scratch in no_std Rust without external crate dependencies. It aims to enforce resource ownership, authority attenuation, and acyclic zero-copy dataflow directly at the operating system boundary rather than treating them as software conventions.

Designed around a compact Ring 0 kernel of roughly 1,920 lines of code, Ferrule moves major subsystems into isolated user-space Ring 3 components. Its architecture features Ring 3 zero-copy DAG networking, lock-free connection tracking, a POSIX sandbox, and hardware-enforced device isolation using Intel VT-d IOMMU. Everything is constructed in pure Rust with no standard library or third-party crate dependencies.

Operating systems researchers, Rust systems programmers, and security engineers studying capability-based microkernels or zero-copy networking architectures can inspect Ferrule as a self-contained systems codebase.

Before you startThe README says

Runs on
x86-64, booted in QEMU by run.sh
Needs
Rust with the x86_64-unknown-none target, GNU objcopy (binutils), and qemu-system-x86_64 with q35, intel-iommu and virtio-net support
How you get it
Build from source: clone the repository and run ./run.sh

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.