Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
amelius
on May 7, 2023
|
parent
|
context
|
favorite
| on:
macOS Internals
Yes, a modern OS is a tangled mess of microservices.
sgt
on May 7, 2023
[–]
They just don't communicate using JSON. I can see it now; Kernel JSON (aka kjson) support in the Linux kernel to attract Node developers.
skissane
on May 8, 2023
|
parent
|
next
[–]
Seriously 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
on May 8, 2023
|
root
|
parent
|
next
[–]
Could 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
on May 8, 2023
|
root
|
parent
|
next
[–]
/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
jwandborg
on May 7, 2023
|
parent
|
prev
[–]
Just take the Unix philosophy and replace the word "file" with "JSON file".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: