Originally posted by mustafa:
What disadvantages are there of using carbon vs obj-c? Compatibilty? speed?
OK. It's Carbon vs. Cocoa, and C++ vs. Objective-C.
Pros of objective-c (as opposed to C++):
introspection
protocols
dynamic typing
class posing
reference counting instead of manual memory management
Cons:
slower
no multiple inheritance (some people would say this is not a problem though)
no static member variables (at least, I can't figure out how to do them)
probably a few other things
Pros of Cocoa (as opposed to carbon):
Easy
Fast development time
Fun
Lots of functionality
Cons:
Some of the low level filesystem stuff is carbon only
Cocoa is perhaps a little slower
Cocoa only runs on OSX. Carbon runs on 8.1 through X
Both Carbon and Cocoa only run on Macs. If you want a cross platform app, find a cross platform API.