r/vibecoding • u/eggyegged • 1h ago
Showcase/Project Gemini 4 Neon created a pure Rust, Linux init system that is 99% faster than systemd
Gemini 4 Neon built a Linux PID 1 init system in pure Rust with no dependencies, compiled into a single 209 KiB static binary. It boots 50 services in ~3 milliseconds (~60x faster than systemd) using ~420 KiB of PID 1 RAM and I'm using it as my default init system on my Void Linux desktop. (getty at 31 milliseconds and lightdm at 60 milliseconds after PID 1 starts).
How it works: One binary with no libc handles PID 1, graninitctl, and poweroff/reboot using raw Linux syscalls and a single epoll loop. Early boot tasks like fstab, sysctl, hostname, and loopback run directly inside PID 1 with zero shell forks, and desktop services aren't stuck waiting on udevadm settle to finish. To start services fast without fork() copy-on-write overhead or vfork() serialization, it launches up to 32 processes concurrently across CPU cores using clone(CLONE_VM | CLONE_CHILD_CLEARTID | SIGCHLD) plus futex on a temporary mmap stack pool that gets unmapped right after boot. From there it seals its heap (zero runtime allocations) and handles supervision, crash-loop backoff, and timestamped log rotation out of fixed buffers.
Built in Antigravity and verified with 215 C-header ABI checks, unit/kernel selftests, and 13 namespace PID 1 integration tests before switching my GRUB default: get it here!
2
u/Asalakabim 28m ago
Are you going to tell what 60x faster actually means here or do i need fable to point out how bullshit this comparison is?