by dom0 · 9y ago · 0 comments
OTOH Linux has some extremely useful syscalls that others just don't have, sometimes causing major performance regressions. Case in point: sync_file_range.
But then Linux also has a history of screwing up and having a bunch of different syscalls on different platforms because somebody introducing a syscall didn't quite think it through. Case in point: sync_file_range. This "only" causes extra work for developers directly working with syscalls - so usually libc devs.
BSD is BSD
Windows also has different sys calls than both Linux and BSD, that's because it's a different OS.
Yes, there's POSIX in there, but generally it is its own OS and you need to treat is as such, same as Windows really.
Yes, Linux, Mac OSX and BSDs have their differences.
But in the kernel, code is going to (or even has to) be less generic
Not that tiny hypervisors and stuff aren't cool, though.
Heh.
I get the same feeling about git when I'm working with hg, the Canada[1] of git. For svn, darcs, bzr, and Mercurial, "revert" means to change the working directory to the repo state. Why did git use it to mean creating a new commit that undoes an old commit?
There's no use rallying against the majority software when it doesn't follow the standard. When you're the majority, you just get to make your own standards because you are the standard. BSD being the Canada of Linux, it's a little funny to hear them complaining about things that Linux does.
--
[1] http://itre.cis.upenn.edu/~myl/languagelog/archives/005497.h...