On Nov 30, 6:41 pm, Fabrizio Giudici <[email protected]>
wrote:
> Still I haven't understood the true relationship between MacOSX and iOS.
> I haven't heard from an expert, so I still suppose the relationship was
> only marketing stuff, to transfer the customer base confidence of Mac OS
> X to iOS, while iOS is substantially a different thing. Anyone?

I think you're wrong.  From what I understand, a lot of the OS
underneath the UI is similar / identical between iOS and Mac OS X -
the Unix underpinnings (kernel, general OS, daemons, network stack,
file I/O, memory management, processes etc.).  I pulled up iSystem
Info on my iPhone and see the same memory categories as on my Mac
(wired, active, inactive, free) and see processes such as
"kernel_task", "launchd" and "syslogd".

The two main differences are that some stuff was cut "below the
surface" - there's no general file systems, just "document sandboxes"
for each app (where you're free to create any files you want), no pre-
emptive multi-tasking, no garbage collection, and a lot of the
periphery driver stuff is gone (USB, Firewire etc.).  And "above the
surface", the UI framework is different - Cocoa / AppKit vs Cocoa
Touch / UIKit on iOS.  UIKit cut shed some stuff (such as Carbon
compatibility or different color spaces) that Mac Cocoa has, but it
also gained some things that the Mac doesn't have (MapKit, in-app
email etc.).  A lot of the libraries / frameworks are available on
both - Core Foundation (the main class library), Core Animation, Core
Audio, Core Data (think Hibernate).  Accessing the calendar or the
address book may also be similar.

iOS 3.0 was roughly on the same level as OS X 10.5 Leopard, iOS 4.0 is
the equivalent of 10.6 / Snow Leopard (which includes blocks /
closures), and I guess iOS 5.0 will compare against 10.7 / Lion.

In general, I think you're foolish if you start a mobile OS completely
from scratch.  Pretty much everybody used a form of Unix except for
Microsoft who took a version of Windows Embedded / CE (http://
www.engadget.com/2010/05/04/windows-phone-7-based-on-a-hybrid-windows-ce-6-compact-7-kerne/).

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to