DEV Community

Rishabh Kharyal
Rishabh Kharyal

Posted on

decentralized universal computer: every machine is a folder under /

Every folder is a computer. cd into a folder is the same as cd into a
computer; the root is the universal computer. Built on Plan 9.

/ → contains all computers
/sanjeev → appears when it comes online

cd /sanjeev → the moment you are inside someone else's namespace,
you are pooling
mkdir pool → create a pool
cd pool → joined

{ echo 'cmd=python3 train.py'; cat } <> team/run/new
cat team/run/3/stdout → streams back from wherever it ran

Pool membership is the capability: joining grants resource access,
leaving revokes it. Your /ws workspace stages to the node before a job
and syncs back after. 9P over TLS, Go, MIT.

Prototype, race-clean tests, verified on a real lightning.ai box.
Known gaps: FUSE writes untested, registry in-memory. What breaks
first at ten machines?

Top comments (0)