Re: Objective C <--> COM comparison
Re: Objective C <--> COM comparison
- Subject: Re: Objective C <--> COM comparison
- From: Richard Schreyer <email@hidden>
- Date: Wed, 29 May 2002 16:20:45 -0700
To my knowledge, there is no equivalent to COM in ObjC/Cocoa.
Because ObjectiveC doesn't suffer from the fragile base class problem
(you can add 'virtual' methods to a class... at run time!), it really
isn't necessary for binary compatibility. Any other binary
compatibility problems (such as needing to add instance variables to a
class in the future) can be taken care of by using some extra padding
space where appropriate if you don't want the users of your framework to
have to recompile.
Beyond that, Frameworks bundles can include several versions of the
code, and the linker knows which one to use, which takes care of the API
compatibility problem.
Richard Schreyer
On Wednesday, May 29, 2002, at 03:39 PM, Jeff Szuhay wrote:
Does anybody know of a developer's technote or technical comparison
of the MS COM architecture and what's available in Objective-C/OS X?
A MS Windows COM --> OS X porting guide would be a truly wonderful
thing.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.