Show HN

Plan 9-inspired environment

by @mrelf

Plan 9-inspired computing environment running on static GitHub Pages My latest exercise in computational absurdity: an entire Plan 9-inspired distributed computing environment running on static GitHub Pages. Its kernel speaks 9P2000 even to its own devices, implements per-process name spaces, union mounts and exports entire name spaces across machines over WebRTC. It has a Venti-inspired content-addressed file system with historical snapshots, rc, rio, acme, sam, plumber, factotum and distributed CPU servers. Its own C toolchain supports everything from K&R function definitions to compound literals, targeting a custom 32-bit instruction architecture with preemptive scheduling and dynamic translation to WebAssembly. The system can even build itself from within itself. That an architecture conceived at Bell Labs decades ago can be reconstructed in an environment as hostile to systems programming as the modern browser is a testament to the remarkable quality of Plan 9's abstractions. I suspect this is not quite what GitHub Pages was designed for.

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app