Feeds

Apple Mac OS X: ten years old today

A decade of Ten

The essential guide to IT transformation

Cocoa and Carbon

If Mac OS X wouldn't then be a break with the past for users, it certainly would for developers. Well, at the start, anyway. It was initially envisaged that software writers would begin using OpenStep's object-oriented application programming interface (API) - the methods by which application communicates with operating system - which became known as Cocoa in the Rhapsody era.

Mac OS X Cheetah Classic

Classic case: Running OS 9 under OS X
Click for full-size image

Cocoa uses Objective C, a version of the C programming language tweaked to support the modular object-oriented (OO) programming. Many Mac OS programmers were already using C++ to write OO apps in C, so that wasn't a huge leap. Learning an entirely new API, however, was another matter, and a fair few developers rebelled, among them some majors, including Adobe.

The result was a compromise: Rhapsody would incorporate a "legacy" API, dubbed Carbon, to allow coders to migirate their existing apps more quickly, though with a view to migrating to Cocoa in due course. Apple would later add a Java API layer to OS X and, eventually, allow apps to be coded in Mac OS' own scripting language, AppleScript.

Ironically, Mac OS most central user-facing feature, the Finder, implemented in OS X as a standalone application, was initally released as a Carbon-coded program. Initially, a single-thread app, Finder's use of Carbon was blamed by outsiders for its seeming poor performance. It was a frequent displayer of Aqua's 'I'm busy doing something' pointer icon, the so-called "spinning beachball of death".

Mac OS X Cheetah Finder

Finder... but not as Mac OS 9 users know it

Finder wasn't re-written as a Cocoa application until 2009's Snow Leopard update, OS X 10.6.

Boost IT visibility and business value

Next page: Aqua

More from The Register

next story
Munich considers dumping Linux for ... GULP ... Windows!
Give a penguinista a hug, the Outlook's not good for open source's poster child
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Intel's Raspberry Pi rival Galileo can now run Windows
Behold the Internet of Things. Wintel Things
Microsoft cries UNINSTALL in the wake of Blue Screens of Death™
Cache crash causes contained choloric calamity
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Time to move away from Windows 7 ... whoa, whoa, who said anything about Windows 8?
Start migrating now to avoid another XPocalypse – Gartner
You'll find Yoda at the back of every IT conference
The piss always taking is he. Bastard the.
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Rethinking backup and recovery in the modern data center
Combining intelligence, operational analytics, and automation to enable efficient, data-driven IT organizations using the HP ABR approach.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.