3 ms·
Sometime I wish FreeBSD and OpenBSD are more popular than Linux...
by hello_moto 17y ago
Sometime I wish FreeBSD and OpenBSD are more popular than Linux...
- jodrellblank 17y agoSometimes I think half the opensource advocats are offering me tweaks and utilities to make Windows and OS X more like {star}nix so everything can be The One True Way, and the other half are trying to convince me that all the {star}nix variants are life changingly different and charmingly unique.
- GeneralMaximus 17y agoMac OS X is already UNIX. In fact, OS X implements more of POSIX than Linux.
- FooBarWidget 17y agoPOSIX message queues. SysV message queues. POSIX realtime signals. POSIX monotonic timers like clock_gettime(). POSIX semaphores living on shared memory for inter-process synchronization. Pthread spin locks. Linux has them, OS X does not. These are just a few things that I encountered while developing on OS X. Where did you get the idea that OS X implements more POSIX than Linux?
- illumen 17y agoYeah, I've also found linux to be a better unix than OSX. Many OSX calls seem lacking compared to linux ones. Compare mmap and threads on both systems for example. Which shouldn't be surprising considering how much work is going on with linux, compared to the OSX kernel. There's thousands of developers, many of whom work for much larger companies than apple(many of which work on their own Unix too... or have in the past).
- GeneralMaximus 17y agoAh. My information comes from Wikipedia: http://en.wikipedia.org/wiki/POSIX http://en.wikipedia.org/wiki/POSIX The article might be wrong, of course. Since you appear to have more experience in this area, I'll just take your word for it :)
- tomneo 17y agohttp://en.wikipedia.org/wiki/POSIX http://en.wikipedia.org/wiki/POSIX requires editing then, both,linux and Freebsd are listed in the incomplete side. http://developer.apple.com/leopard/overview/osfoundations.html http://developer.apple.com/leopard/overview/osfoundations.ht... seems to say the same damn lie !
- timdorr 17y agoTechnically this is already true, since OS X is a FreeBSD variant and is more popular than Linux (at least in the desktop world). But I know what you mean. I actually host two development servers for FreeBSD and employ one of the core devs (laszlof). I'm trying to help! :)
- enneff 17y agoThe kernel is different, and the userland is different. OS X may be FreeBSD-derived, but it has moved a long way from its roots since then.