| Sign In/My Account | View Cart |
| Article: |
Cocoa Vs. Carbon? | |
| Subject: | It strange nobody mentioned it but carbon is the way to go for cross platform | |
| Date: | 2001-05-25 02:34:14 | |
| From: | eredler | |
|
Companies that wish to maintain a common code base for their Win/Mac application would find it quite hard with Cocoa. Since Carbon and Win32 are very close, conceptually, it is much easier to write such applications with Carbon. |
||
Showing messages 1 through 3 of 3.
Of course, the MacOS API's, including Carbon, are implemented in a completely Mac-hardware specific manner, so they'll never run on anything else (unless Apple throws $millions at porting it). So while it might be the case that procedural API's might be mappable ( though if you get into the details, the MacOS API's and Windows API's are quite different in almost every detail aside from a few cross-ported technologies (e.g. TrueType, QuickTime).
So what it comes down to is that developers will have to pick between Carbon and Cocoa. And, having used both, Cocoa is clearly the right way to go unless you have an overwhelming pile of legacy code, and even then you're simply trading off a quick port now against a long, losing battle against competition using Cocoa and getting 10x your productivity. So any smart company, even if they're porting a legacy Mac app to Carbon had better be exploring a Cocoa port.