Well first Cocoa and Carbon are not languages. They are frameworks. Carbon uses C/C++. Cocoa uses Objective-C which is a superset of C. You could use Objective-C++ which is a superset of C++.
You have no choice but to use Carbon or Cocoa if you want a GUI of any kind on Mac OS X, kind of like you have no choice but to use Win32 on Windows if you want to make a window there. Or X11 and I can go on.
For stuff like apps, you really must learn Cocoa or in some cases you can use QT which is a C++ framework that uses Cocoa underneath.
But if you are writing a game, you learn just enough Cocoa to create a window with an OpenGL view, and then the rest of your game is in C++ and OpenGL.
|