News for hackers. Stuff that matters.
Re:Plan 9 Is a Uniquely Complete Operating System by mjevans on Sunday July 28, 2024 @04:15AM (#41091921)
Imagine extending Plan 9 semantics with something like REST style protocols, but via the (virtual) filesystem layer rather than HTTP requests.

(Offhand, I've never touched Plan 9 but...) Hypothetically /proc/SOMEPID/db/DATABASE/SCHEMA/TABLE/various views which provide expressions in some order. Or /proc/SOMEPID/containerofthings/ and the directory listing is serviced by the application, as an enumeration of keys (filenames) to values (datasets). For a database the API would behave similarly to how ORMs operate since filesystems are inherently similar to objects.

Re:Plan 9 Is a Uniquely Complete Operating System by zozbot234 on Sunday July 28, 2024 @04:19AM (#41091931)
Why be dependent on the /proc/SOMEPID/ path? Just write your process as a plan9 file server, and expose it in some arbitrary part of the filesystem.