On 2010-10-25 12:56:41 -0400, Walter Bright <newshou...@digitalmars.com> said:

Michel Fortin wrote:
Personally, I've found that, even though it works, the bridging approach doesn't scale very well because of the insane amount of generated glue code. That's why I changed course and abandoned my bridge (the second in your list), working instead on making DMD directly aware of the Objective-C object model. This way, you can have extern(Objective-C) classes and use them as if they were D classes (mostly), no wrapper class and no glue code necessary.
<http://michelf.com/weblog/2010/dobjc-dead-end-start-anew/>

I think this is a worthy and valuable project, analogous to D's support for COM objects on Windows. Once you get it done, I'd like to get it folded into the main dmd. We'll also need a documentation page!

Great! Thanks for your support. :-)

Note that it's also a much bigger project than support for COM given that the Objective-C object model and method calls are very foreign compared to C++ or COM. So it's not going to be a small patch, and it'll take a couple of months before it's ready as I'm only doing this in my spare time.

--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to