(no title)
rbarooah | 13 years ago
The question I was responding to was simply whether there are compelling reasons for Apple to use Objective-C.
Supporting cross platform native development is clearly not a strategic goal for them.
I think I'd add another reason - which is that they are in control of the evolution of Objective-C.
primitur|13 years ago
And it really is important enough that anyone considering learning Objective-C today, or even using it, know that there is a way out of it: roll your own walled garden and plant what you like within it, on any platform you can.
I would be willing to wager a small bet that says that the scripted-VM-glommed-in-a-web-of-libs approach to the Platform wars will become more and more a key survival strategy in software development over the next 2 years.
The OS, and indeed Distributions are dead; long live the new King, VM-managed library bundling..
rbarooah|13 years ago
I don't see why you describe Apple's approach as a 'trap'. They are providing a lot of software components that save effort for those who use them. The results are platform specific, but everyone who uses them knows that and chooses to make that tradeoff intentionally.
What you describe as "VM-managed library bundling" sounds a lot like "building your own platform out of open source parts and maintaining a compatibility layer to your target platforms".
That strategy works for a few of the largest most-well resourced projects - e.g. the browsers Firefox, Chrome, Safari, Opera etc, plus the Adobe Suite, and even these draw criticism for the results not being as good as they could be if they focussed on one platform.
Something like this works on the web too - where people assemble a 'platform' out of javascript libraries - because the base platform simply doesn't provide enough.
I don't see it being a viable strategy for a small team or an individual developer trying to build native applications though because of the amount of time you'll spend keeping the compatibility layer up-to-date with the rapidly changing underlying platforms.