Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to compile some program with either Cocoa or Carbon windowing system. I have a 10.6.8 Snow Leopard installed on a i386 (at least uname -a tells me this) system. I opened the system-profiler and selected > Software > Frameworks. There are listed among others:


Does that mean, I am free to choose?

share|improve this question
up vote 1 down vote accepted

Sort of - cocoa is the modern API for newer applications, and least with the latest versions of OS X, the preferred one.

Carbon is a legacy API, used in OS 8 and 9 and is depreciated with the upcoming OS X 10.8 Mountain Lion . Some applications for OS X however continued using the carbon API until recently - wikipedia states older versions of photoshop, itunes and final cut were coded with carbon, though modern versions are cocoa based.

As a developer, you should be using cocoa over carbon, since cocoa supports 64 bits and well, isn't obsolete. In this case picking cocoa over carbon is a good idea.

As a user, this should be transparent to you, but you'd be using what API your software uses, assuming its supported.

I am guessing however compiling for either should work.

share|improve this answer
Thanks, I didn't know that Cocoa and Carbon are APIs. I just recently managed to boot into 64bit and I will use Cocoa interface. – math Jul 6 '12 at 12:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.