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!
Thanks for doing this.