neither macOS nor Linux feels much like "Unix" when you do non-1970s stuff (graphics, webcam, low-overhead profiling, introspection, some networking, IPC and weird MMU stuff, low-overhead polling/IO/subscriptions)
but Linux at least tries with /proc and /dev/videoX and new file descriptors like userfaultfd and pidfd and so on (and fork(2) still kinda works). macOS really makes no attempt to be Unix-like in comparison https://social.omar.website/@omar/statuses/01HWGZM1ACNS48HEQMFBCW0VAY
Profile for
Omar Rizwan.
Username @omar, social.omar.website.
Role: admin
About
"The program should, in some way, expand the concept of what computer paint programs are, as well as what mark making can be."
Joined on Dec, 2022.
627 posts.
Followed by 203.
Following 124.
execvpe
Odd
"Pi My Life Up"
install package -> hack on package
"Please remember that the kernel is for running userspace" https://lwn.net/Articles/803421/
finally learning about `perf probe` -- https://bristot.me/using-perf-probe-to-measure-execution-time-of-user-space-code-on-linux/ -- think I want to add a hook to scripting language so I can inject probes at script level. might just JIT & call a stub C function with unique name and then probe that