On Thursday, 14 December 2017 at 16:12:30 UTC, Jacob Carlborg wrote:
No, that would not work. Several years ago I created an The bridge basically wrapped an Objective-C object inside a D object, resulted in two objects for each object instead of one. That bridge turned out to be a failure, vary complicated, huge amount of template instantiations and bloat from a lot of virtual methods that could not be removed. A simple test application with a window and a button resulted in a 60 MB executable.

DIP43 is the next step in the evolution after the bridge and it's a much better approach. When DIP43 is done, or at least has made some more progress it will be much simpler.

Please keep in mind that all this is work in progress, that's why it is as complicated now as it is.

[1] http://dsource.org/projects/dstep/browser/dstep/objc

Ok, I see! Sounds like I'll have to wait then. How long do you think it will take until DIP43 is available for use? Is it months or years we are talking about here?

Reply via email to