4 ms·
Okay, this is super cool. Thanks for sharing. In a similar vein, jart's Cosmopolitan libc has a really fun collection of tables that compare various constants
by xelxebar 2y ago
Okay, this is super cool. Thanks for sharing.
In a similar vein, jart's Cosmopolitan libc has a really fun collection of tables that compare various constants across platforms, e.g. syscalls, syscall flags, error numbers, etc. It includes (variants of) Linux, XNU, NT, and the BSDs.
https://github.com/jart/cosmopolitan/blob/master/libc/sysv/consts.sh https://github.com/jart/cosmopolitan/blob/master/libc/sysv/c...
In the off chance you haven't heard of Cosmopolitan yet, I hope you find the discovery as much fun as I have.
- saagarjha 2y agoI am curious what the difference is supposed to be between "XNU's Not UNIX!" and "MacOS (Arm64)".
- pcwalton 2y agoI'm guessing it's just x86-64 vs. AArch64. There are two columns, one marked "(Aarch64)", for Linux too. I would imagine the "MacOS" bit is there to emphasize that the values haven't been verified on iOS.
- jart 2y agoWe only introduced Android support a few releases ago. I'd love to see Cosmo working on iOS too.
- runlevel1 2y agoThis is a thing of beauty. I used to make spreadsheets like this ages ago when I was working across Linux and Solaris, but they were nowhere near as thorough as this.
- birktj 2y agoGNU/Systemd is pretty hilarious
- jart 2y ago<3