The differences between Mac & Linux

Chat about Linux in general

The differences between Mac & Linux

Postby Acid_1 on Tue May 25, 2010 7:14 pm

Recently I came across an article (http://scatteredideas.info/archives/14- ... mac-sucks/) and one of the comments from the article writer said this:

ViNSENTO wrote:... don’t you know that Mac is a an OS skinned free OS? Mac runs on linux kernel and linux is FREE. why you pay for FREE ...


And that drove me up the wall, and I wrote a lengthy explanation about the differences between Linux and Mac OS. I figured you guys might like to read it as it is quite informative, and tell me what you think :)
_______________________________________

Mac doesn't run on the Linux kernel, rather it runs on Darwin. Now before you say "Darwin IS the Linux kernel renamed", it's not. As a matter of fact, it has nothing to do with Linux at all.

Darwin is comprised of the Mach 3 kernel and the BSD kernel. So really, it's a hybrid kernel. BSD is under the very permissive, and appropriately named, 'BSD License', whereas Mach is under... well I'm not 100% sure but since it was GNU Mach I am going to assume that it is GPL2.

Darwin, which if you run OSX it is your kernel, is 100% open source. You can even download and install the Darwin kernel with a GNU+X11+Gnome/KDE/Whatever environment you please.

http://www.puredarwin.org/ - Darwin with X11 & GNU utilities

Now, Darwin isn't, in Apple's opinion, used with GNU, but rather XNU, which is a recursive acronym for X is Not Unix (Similar to Gnu is Not Unix if you didn't know). XNU is under the APSL, which is not GPL compliant, however it is technically still open source.

And finally, there is Aqua. Similar to GNOME, KDE, XFCE, ... every other desktop environment for Linux. The kicker is that it is proprietary. This is Apple's gem. Aqua's underlying architecture is Cocoa (I think), which is similar to how KDE uses QT and how GNOME and XFCE use GTK as their toolkit. This is what defines OS X.

So, now that we have this lesson here's the main thing, aka tl;dr:

OSX = Darwin + XNU + Aqua & Cocoa
PureDarwin = Darwin + GNU + X.org + GNOME & GTK (Maybe KDE & QT I don't know for sure)

Ubuntu = Linux + GNU + X.org + GNOME & GTK
or
Kubuntu = Linux + GNU + X.org + KDE & QT

Where as BSD is

DragonFly = BSD + GNU + X.org + GNOME & GTK

and there are endless possibilities, for instance in Ubuntu, on an install you can put all the QT libraries in as well, so you would have:

Ubuntu = Linux + GNU + X.org + Gnome & GTK/QT
_______________________________________

Hope you learned a valuable thing today :)

Sources:

http://en.wikipedia.org/wiki/BSD_license
http://www.puredarwin.org
http://www.opensource.apple.com/license/apsl/
http://en.wikipedia.org/wiki/Apple_Publ ... ce_License
http://en.wikipedia.org/wiki/XNU
http://en.wikipedia.org/wiki/Mach_(kernel)
http://www.cs.cmu.edu/afs/cs/project/ma ... /mach.html
http://en.wikipedia.org/wiki/Aqua_(user_interface)
Website: Forkwhilefork
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Linux Mint is funded by ads and donations.
 

Re: The differences between Mac & Linux

Postby DrHu on Tue May 25, 2010 10:06 pm

Acid_1 wrote:And that drove me up the wall, and I wrote a lengthy explanation about the differences between Linux and Mac OS. I figured you guys might like to read it as it is quite informative, and tell me what you think
Whatever the real technical differences between Linux as a base and Darwin on the mach kernel as a base, there is no doubt Apple has their own style of doing things, just as Linux does and should..

And as to the posted link, I essentially ignore any post that says: this or that sucks or similar message, and I usually ignore any post that says X compared to Y proves Y is better

Now about the Apple and Linux (there is no verses one to the other here)
    Differences are..
  • Apple corp is a commercial company with enough cash flow to manage and develop their product line independently
  • If there is any difference between free and commercial, it is money
    --other than that, they may be at a similar quality level and a similar performance: that is the amazing story of Linux and open source development..
    --no commercial company has duplicated that feat!
OSX, Darwin..if wanted.
http://en.wikipedia.org/wiki/Mac_OS_X
    Since Mac OS X is POSIX compliant, many software packages written for the * BSDs or Linux can be recompiled to run on it. Projects such as Fink, MacPorts and pkgsrc provide pre-compiled or pre-formatted packages. Since version 10.3, Mac OS X has included X11.app, Apple's version of the X Window System graphical interface for Unix applications, as an optional component during installation.[35] Up to and including Mac OS X v10.4 (Tiger), Apple's implementation was based on the X11 Licensed XFree86 4.3 and X11R6.6. All bundled versions of X11 feature a window manager which is similar to the Mac OS X look-and-feel and has fairly good integration with Mac OS X, also using the native Quartz rendering system. Earlier versions of Mac OS X (in which X11 has not been bundled) can also run X11 applications using XDarwin. With the introduction of version 10.5 Apple switched to the X.org variant of X11.[36]
http://www.mail-archive.com/xorg-announ ... 00056.html
User avatar
DrHu
Level 16
Level 16
 
Posts: 6882
Joined: Wed Jun 17, 2009 8:20 pm

Re: The differences between Mac & Linux

Postby hinto on Tue May 25, 2010 11:35 pm

Acid_1 wrote:And finally, there is Aqua. Similar to GNOME, KDE, XFCE, ... every other desktop environment for Linux. The kicker is that it is proprietary. This is Apple's gem. Aqua's underlying architecture is Cocoa (I think), which is similar to how KDE uses QT and how GNOME and XFCE use GTK as their toolkit. This is what defines OS X.


Not really. True it is Aqua, but it's not like GNOME, KDE, XFCE.... It does not use X. In order to use X apps (including QT/GTK Apps), you have to install an X Server. Say for instance you have 2 machines, MyMint, and MyOSX. From MyMint you open a terminal and type:
ssh -X MyOSX
(You log in) then type iTunes (or Finder, or any Cocoa based app). The OSX/Cocoa app will not be displayed on MyMint. (remember -X exports the X Display back to MyMint). OSX java/swing apps are written in Cocoa, too. That means jEdit/NetBeans/etc will not export back to MyMint, either. Cocoa and OSX's X Server is like the same relationship Windows has with Xming.
-Hinto
What brought me to Debian was one-stop shopping.
What brought me to SID was apt-get update && apt-get dist-upgrade.
User avatar
hinto
Level 6
Level 6
 
Posts: 1188
Joined: Thu Jul 09, 2009 7:32 pm
Location: Cary NC, USA

Re: The differences between Mac & Linux

Postby lexon on Sun Jun 13, 2010 2:52 pm

I just tried my stepson's new iPad that uses Safari a Safari browser and that device leaves all PC's and browser's I have used in the dust. What a Toy.
I can see the difference first hand. I wonder how long it will take Linux to catch up?

Lex
Lindows, Linspire, Freespire, Ubuntu, Mint 15 Cinnamon, Mint 16 XFCE, Mint 17 Cinnamon 64 bit.
lexon
Level 5
Level 5
 
Posts: 714
Joined: Sat Jan 31, 2009 10:53 pm
Location: MA USA

Re: The differences between Mac & Linux

Postby Acid_1 on Sun Jun 13, 2010 9:56 pm

lexon wrote:I just tried my stepson's new iPad that uses Safari a Safari browser and that device leaves all PC's and browser's I have used in the dust. What a Toy.
I can see the difference first hand. I wonder how long it will take Linux to catch up?

Lex


Any other information or are you just out for a troll?
't Feed The Troll.jpg
't Feed The Troll.jpg (15.28 KiB) Viewed 2403 times
Website: Forkwhilefork
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Re: The differences between Mac & Linux

Postby hinto on Mon Jun 14, 2010 8:59 am

lexon wrote:I just tried my stepson's new iPad that uses Safari a Safari browser and that device leaves all PC's and browser's I have used in the dust. What a Toy.
I can see the difference first hand. I wonder how long it will take Linux to catch up?
Lex


I tell my kids to use the right tool for the right job. Sure you can drive a nail with a monkey wrench, but it works a lot easier with a hammer.
-Hinto
What brought me to Debian was one-stop shopping.
What brought me to SID was apt-get update && apt-get dist-upgrade.
User avatar
hinto
Level 6
Level 6
 
Posts: 1188
Joined: Thu Jul 09, 2009 7:32 pm
Location: Cary NC, USA


Return to Chat about Linux

Who is online

Users browsing this forum: No registered users and 3 guests