Re: ObjC API != Cocoa (Re: Another controversial question)
Re: ObjC API != Cocoa (Re: Another controversial question)
- Subject: Re: ObjC API != Cocoa (Re: Another controversial question)
- From: Chris Gehlker <email@hidden>
- Date: Wed, 05 Sep 2001 10:39:06 -0700
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.