Have people considered some sort of completely functional operating system? The ...

@trebor@types.pl

Have people considered some sort of completely functional operating system?
The user cannot access the filesystem at all, and the OS will decide when to swap values (like a long string that is not actively used at the moment) to the disk when it wants to, deleting them when it goes out of scope.
Programs are just functions, and you can download prebuilt binaries from some registry by "let leftpad = Registry.leftpad" which fetches a serialized representation of the closure and loads it to the local runtime.