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…

3 points•mrelf•about 1 hour ago•0 comments•
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.

0 comments

No comments yet.

Read the full thread on Hacker News →

Related stories