4 ms·
Yeah, it's all a bunch of programs doing their thing. One draws a GUI, another talks to the network adapter, and so forth.. And when you click a launcher icon,
by apples_oranges 3y ago
Yeah, it's all a bunch of programs doing their thing. One draws a GUI, another talks to the network adapter, and so forth.. And when you click a launcher icon, a loader program is started that (more or less) copies a program into RAM and when all is set up, it tells the OS (and the hardware) to run that, too.
- amelius 3y agoYes, a modern OS is a tangled mess of microservices.
- sgt 3y agoThey just don't communicate using JSON. I can see it now; Kernel JSON (aka kjson) support in the Linux kernel to attract Node developers.
- jwandborg 3y agoJust take the Unix philosophy and replace the word "file" with "JSON file".
- skissane 3y agoSeriously I wish /proc was available as a tree of JSON documents as opposed to all these different ad hoc plain text formats. It would make using /proc a lot easier and more reliable
- jwandborg 3y agoCould be unnecessarily costly unless the files are written ahead-of-time. I propose some kind of GraphQL-like interface to only read what you need.
- skissane 3y ago/proc files are generated on-demand as you read them. Generating JSON couldn’t be significantly more costly than the current ad hoc plain text formats are