On 30 Jan 2014, at 12:49, jonat...@mugginsoft.com wrote:
> On 30 Jan 2014, at 00:42, Jens Alfke <j...@mooseyard.com> wrote:
>> Anyone exposing a C++ API in a dynamic library is nuts, IMHO. 
> 
> What is it that makes C++ so unsuited to code sharing?


 In short, method look-up depends on order of methods (so deleting a method 
breaks calls to all methods below it) and it suffers the fragile base class 
problem both for instance variables *and* methods.

 With the classic runtime, ObjC only had fragile base classes for ivars, since 
method lookup goes by SEL. With the modern runtime (iOS or Mac-64-bit), not 
even that anymore.

-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to