2 ms·
Not for the reasons in the article, but ... I'm not sure POSIX matters so much anymore. The BSDs, Mac OS included, have ways to do things that are not in POSIX
by butterisgood 3y ago
Not for the reasons in the article, but ... I'm not sure POSIX matters so much anymore.
The BSDs, Mac OS included, have ways to do things that are not in POSIX, and they're usually the best way to get that specific thing done.
Linux is the same, but doesn't follow the BSDs lead on those APIS (epoll, inotify, kqueue/kevent etc).
io_uring is awesome, but there's no analog for FreeBSD etc.
Fuchsia, Windows and other platforms offer Linux compatibility, not as focused on specifically POSIX.
So, is Linux the new POSIX? I don't know...
... but I think about this monthly at least.
- twistercool 3y agoTo be fair, POSIX gets updated and eventually follows the implementations. Just like the newer C standards usually just officially adopt things that gcc and sometimes clang have already been doing for decades.
- pjmlp 3y agoThere are other C compilers which WG14 also takes into account. https://en.cppreference.com/w/c/23 https://en.cppreference.com/w/c/23 That list isn't exhaustive.