When building flight controllers, robotics firmware, or edge industrial controllers, you usually get stuck with a bad trade-off:
- Embedded Linux gives you memory isolation, at the cost of 50–500 MB of bloat, slow boot times, and SoftIRQ/scheduler jitter.
- Traditional C RTOSes (FreeRTOS / Zephyr) are tiny and fast, but run everything in a single flat address space—so one bad pointer in telemetry or comms can corrupt memory and take down the entire control loop.
To bridge that gap, we built exploidus-nano (v0.2.1): a #![no_std], zero-heap Rust micro-unikernel (27 KB x86_64 bare-metal ELF, 13.5 KB Pure UEFI, 10 KB RISC-V 64) designed for deterministic real-time control.
Ring-3 Fault Isolation Without the OS Bloat
Instead of trusting every task with raw physical memory, exploidus-nano runs unprivileged tasks in isolated Ring-3 CR3 W^X address spaces (and PMP on RISC-V).
Here is a bare-metal boot from our exploidus-nano.iso in VMware:
Notice line 3:
[exploidus-nano] Ring3 #PF isolated: vec=14 err=5 cr2=0x0000000000100000
Even when a Ring-3 task triggers an illegal page fault (#PF), the kernel traps and isolates it cleanly while the 100 Hz control loop (tick=1..1300), actuation, and IPC keep running without dropping a single frame.
Key Architecture & Real Benchmarks
Every critical path is zero-heap, capability-gated using MAC tokens (O(1) generation revocation), and bounded by non-overlapping MPU regions:
-
Multi-Architecture:
x86_64(Multiboot1 BIOS + Pure UEFI ISO),ARM64(AArch64), andRISC-V 64(RV64GC+ PMP) -
Board & Bus Support: Zero-heap Flattened Device Tree (
0xD00DFEED) parser with MMIO profiles (QEMUvirt, Raspberry Pi 3/4, STM32MP1, SiFive Unmatched) + capability-checkedCAN,SPI,I2C,UART, andPCIedrivers - SMP & Multi-Core: APIC/SMP core bring-up and inter-core mailbox IPC
-
Formal Verification: 7/7 Kani (
CBMC) formal proof harnesses verified in CI
Measured latencies (200,000 iterations, --release, RDTSC):
| Operation | Latency | CPU Cycles |
|---|---|---|
CapabilityGate::verify |
24.01 ns/op |
59.9 cycles/op |
IpcEndpoint (send + recv) |
77.13 ns/op |
192.5 cycles/op |
ScalarEstimator (Kalman predict+update) |
12.54 ns/op |
31.3 cycles/op |
CanController::transmit (Cap + MPU) |
56.08 ns/op |
140.0 cycles/op |
CyclicScheduler::run_minor_frame |
5.37 ns/op |
13.4 cycles/op |
Try It Yourself
Add it as a #![no_std] crate:
cargo add exploidus-nano
Or boot the prebuilt exploidus-nano.iso from GitHub Releases in QEMU / VMware / VirtualBox:
qemu-system-x86_64 -cdrom exploidus-nano.iso -serial stdio -no-reboot -m 32M
Source code & docs: https://github.com/Exploidus/exploidus-nano

Top comments (1)
The boot log line is what sells this for me — a Ring-3 task faults, the kernel traps and isolates it, and the 100 Hz control loop keeps ticking through tick 1300 without dropping a frame. That is the whole promise in one line, and it is a much stronger claim than the size numbers alone, impressive as 27 KB is. The 7/7 Kani proofs and the 200,000-iteration latencies give it weight too. One question: after that fault is isolated, what happens to the faulting task — is it restarted, killed, or logged and left for the next cycle?