Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
skissane
on May 8, 2023
|
parent
|
context
|
favorite
| on:
macOS Internals
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
[–]
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
|
parent
[–]
/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
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: