Rust · Microkernel · POSIX.1-2024

ONCRIX.

ONCRIX is Not a Copy, Real Independent uniX

A capability-based microkernel operating system written from scratch in Rust — memory-safe, #![no_std], and POSIX-compatible at the edges.

License Apache-2.0 Edition 2024 Target x86_64-unknown-none 10 crates

Core design goals

Four principles, no compromises

Every line of ONCRIX is written against the same four goals — enforced by Rust's type system and a minimal trusted computing base.

// stability

Stable

Rust memory safety, no undefined behavior, and graceful panic handling.

// security

Secure

Capability-based access control, privilege separation, and a minimal TCB.

// extensibility

Extensible

Modular microkernel — user-space drivers and services, plugin architecture.

// performance

Fast

Zero-cost abstractions, lock-free structures, efficient IPC, minimal context switches.

The workspace

Ten focused crates

A clean separation of concerns — architecture-specific code stays behind the HAL, kernel-space crates depend only on core and alloc.

kernel
scheduler · IPC · core
mm
virtual memory · alloc
vfs
virtual filesystem
process
threads · lifecycle
ipc
channels · shared mem
syscall
POSIX interface
hal
hardware abstraction
drivers
user-space drivers
bootloader
boot protocol
lib
shared utilities

Built in the open

The source, the design docs, and the full history are public.