Comment by developer2

9 years ago

>> most syscalls on MacOSX are just plain slow as compared to Linux (or FreeBSD). I think this is partially an artifact of performance not being a major metric for most system calls on MacOSX

This. When flat out milliseconds per syscall is deemed to trump actual functionality and usability of the operating system as a whole, your priorities are simply wrong. Nerding out over obsessive metrics is literally that - nerding out over useless micro-details rather than real-world needs. When your loyalties fall solely upon a race-to-the-bottom speed on POSIX standards that are 40 years old... sigh.

We come across this kind of thing whenever someone releases a new pre-alpha, first-time-endeavour, operating system. Arguments like "It's not 100% POSIX!". Excuse me, but if you think that POSIX is the only valid foundation for an operating system, you're pushing your previous experience as the only facet that matters, rather than any actual measure of quality or merit. The ability to easily port existing applications is not the only metric that is going to dictate the operating system of the future. POSIX is so ancient at this point that it should have been iterated upon a multitude of times by now. It's so out of date it's almost a joke - we're basically still building our operating systems with horses, without even considering that a mechanical or electrical engine is even a possibility.

For 99.9% of use cases, this kind of metric is so far beyond worth even mentioning that it sounds like a farce. Nobody cares about the performance of mkfile. Nobody. If you're one of the very few people wasting your energy on such a thing... holy shit... get over it and modernize your way of thinking. We're not living in 1980; and no, it's not that the "reasonable old ways no longer gain any respect or recognition" - it's that you are trying to live in the past. Move on.

Bloated syscall times wind up being a death by a thousand cuts when your workload is syscall heavy.

One simple, common, example is plain old autotools configure scripts. I have no love for autotools generated configure scripts (and in fact hate them with a passion), but I've long observed they crawl on MacOSX and go much faster on Linux. They do lots of syscalls (tons of fork/exec/open/close/stat).

Reason for downvoting?

  • Because I speak in a condescending tone that irritates people. I'm quite used to it. I fully admit it's rare that I can present my point of view in a way that is a) concise rather than a rant, and b) doesn't use phrasing that is abrasive. I should have been able to summarize my point in two sentences without negative coloring, but instead it took me three verbose paragraphs with assaulting language. I'm trying to work on it, but old habits die hard. shrug

    (Also sshhhhh, it is anti-HN to discuss downvotes)

    • I was the same. Probably still am sometimes. The most helpful reminder to myself was that this isn't a shame or punishment thing. It's simply that most people aren't receptive when spoken to that way. So instead of feeling like I was being shamed into being polite, I just reminded myself that it's my loss if I can't communicate my thoughts, no matter what the transport mechanism looks like.

      3 replies →

    • Actually it is neither forbidden nor uncommon to see a comment by the downvoter explaining their reasoning for the downvote. But complaining about being downvoted, or inviting discussion about it, is frowned upon.

      2 replies →