Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC API != Cocoa (Re: Another controversial question)



On 9/5/01 8:12 AM, "Ken Tabb" <email@hidden> wrote:

>> KT> So how come OpenGL doesn't have an OO API? Maybe the OpenGL ARB are
>> KT> stupid, or haven't considered it?
>>
>> I guess the latter.
>
> I think you are misjudging them. Something tells me they have considered
> it. Possibly (and I'm speculating with no evidence at all) they think OO
> is inherently not as good as non-OO (declarative, procedural, functional,
> whatever) in which case I'd disagree with them and agree with you, or
> possibly they just don't see a way of getting decent hardware
> acceleration through an OO API. Who knows? Maybe they've even tried it?
> There's a thought.

You could be right here, Ken, but I think the most likely scenario is that
they want to be a multi-platform standard and the multi-platform lingua
franca is C. To some extent the same thing applies to QuickTime.

I think if I were in their shoes I would take the attitude "Give it a C API
and let the users wrap that in the OO language of their choice." I can
guarantee that if they were to pick an OO API, it wouldn't be ObjC.
--
C++: The power, elegance and simplicity of a hand grenade.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.