D/Objective-C Preliminary Design

Anders F Björklund afb at algonet.se
Thu Nov 4 01:07:55 PDT 2010


Walter Bright:
>> I need them to work with the Objective-C object model. By making
>> Objective-C objects bind to D semantics, all those feature will "just
>> work" with Cocoa with minimal changes to the frontend (and well
>> written bindings).
>
>
> I don't know O-C. I've never written a line of it. So I'm shooting in
> the dark about the best way to attach it to D.
>
> I agree with all your goals.
>
> One possibility: simply adopt O-C syntax.

That is what Objective-C++ is doing (for C++).

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocCPlusPlus.html

--anders


More information about the Digitalmars-d mailing list