Linked by Thom Holwerda on Sun 9th Sep 2012 22:58 UTC
Mac OS X "A little more than an year ago I wrote my rant post The Linux Desktop Experience is Killing Linux on the Desktop and for the first time in 8 years I wasn't a desktop Linux user anymore. I spent about a month wrestling with Windows 7, but let's face it - Windows is ill suited for professional Ruby programmers like me (and it's ill suited for most programmers, except maybe Java & .Net I guess). Anyways, it was never my intention to stick with Windows - I was just doing my Mac due diligence. Now with 1+ year of OSX usage I'd like to share a few things about my experience thus far with you."
Thread beginning with comment 534800
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: Windows is ill suited...
by moondevil on Wed 12th Sep 2012 06:27 UTC in reply to "RE[5]: Windows is ill suited..."
moondevil
Member since:
2005-07-08

POSIX is portable to pretty much every mainstream OS except Windows. Heck, the purpose of POSIX (Portable Operating System Interface) is to be portable and it's not exactly difficult to implement. MS just don't care enough to do it even remotely well.


Except when the OS decides to interpret what POSIX says in another way. Ever managed to make a serious POSIX application work across Mac OS X, DG-UX, HP-UX, Aix, Solaris, BSD and GNU/Linux without a single #ifdef?

If you add the POSIX compatibility layer via the "Add/Remove features" panel Windows ends up also having quite some compatibility.

As for doing it well, it does not bring them money, so why should they care?

If Apple had decided otherwise and taken BeOS as their new Mac OS X, you would also be bashing Mac OS X POSIX compatibility.

Reply Parent Score: 3

Soulbender Member since:
2005-08-18

As for doing it well, it does not bring them money, so why should they care?


Because they're losing users and developers to OSX?
Alternatively, they could gain developers and users from *nix and OSX if they had better support.

Reply Parent Score: 2

moondevil Member since:
2005-07-08

Are they?

I work for customers that are part of Fortune 500 companies, and this year was the first we ever had to worry about the iPad, nothing else from Apple.

Most of our projects are always done for Windows and UNIX systems anyway, with a few projects which may use less known systems like OS/400.

The only Mac OS X system I saw being carried around were by sales guys, which don't care a dime about its UNIX roots.

Reply Parent Score: 3

Soulbender Member since:
2005-08-18

If Apple had decided otherwise and taken BeOS as their new Mac OS X, you would also be bashing Mac OS X POSIX compatibility.


If the question was the same as here, "why do you say Apple is not for programmers?", then yes.

Reply Parent Score: 2

moondevil Member since:
2005-07-08

Any operating system is for programmers, because programmers should work on the operating systems the customers want solutions developed for.

Reply Parent Score: 2

boldingd Member since:
2009-02-19

I briefly considered trying to get a GTK/OpenGL application to work on Windows. In theory that should have been easy, since GTK and OpenGL are supposed to be portable, and I wasn't doing anything OS-specific.

Windows POSIX layer put a stop to that pretty quickly. I used popen (which Window's POSIX compatibility layer includes) to write frames of video out to an external process, but on Linux that required that I handle SIGPIPE, and Windows' emulation of POSIX signal handling was woefully incomplete. Code that worked fine on Linux wouldn't build against Windows' implementations of signal (I think Windows didn't even define SIGPIPE as a constant).

Reply Parent Score: 2