On Apr 11, 2008, at 1:01 AM, Jean-Daniel Dupas wrote:
Le 11 avr. 08 à 08:14, Philip Aker a écrit :
Specifically, there still aren't enough capabilities in the so-
called polymorpism of CFTypeRefs to enable the class-like
inheritance that would permit a unified UI model shared between
Carbon and Cocoa.
And what you suggest it to add so-called polymorpism to the
CFRuntime. And as we are here, we can also add some features like
and dynamic binding, and dynamic class generation. And maybe we can
defined some macros to help developpers to use those features using
plain C. And we can maybe find a new name for this style of C with
object semantic?
And after that, Apple we be able to rewrite HIView and friends to
match the NSView model and conveniences.
Or maybe I miss your point ?
Yes right there at the end.
The point, if I may be so bold, would be to create a dynamic object
exchange in order to bridge disparate object models in a simple but
robust way. Something that generic, one-way bridges can never do.
The whole point would be to have a plain C interface. No defines or
macros or new semantics. It would seem logical to make it part of
CoreFoundation and provide a platform agnostic interface for
developers that need to maintain code bases in several operating
systems.
Ordered C structs, Objective-C, C++, three possible object models
already exist within the C language itself. Imagine how powerful it
would be to have a single interface for all/any of them. Then you add
all the others like PHP or AS or Object Fortran, oh my.
Even to give this a half hearted try would demonstrate and
understanding that our issues are not just whining, they are real.
Instead we get the CarbonCocoa Temperature converter that seems to
only prove their is no serious transitionary technology at all. No
session at WWDC about it at all. Are we to just never speak of it
again?
What's is truly so frustrating, besides the incessant posturing, is
that in reality we are almost there. We are so close. Closer than we
have ever been. All the parts are in place, the people are in place,
the only thing missing is the will from the top. If we have the parts
we need, we can adapt, and I for one would like that.
More later,
Jack
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden