Need encouraging...
Bill Baxter
dnewsgroup at billbaxter.com
Tue Oct 2 13:17:50 PDT 2007
> I have definite purposes and aims to port a definite library to D.
> But... I do not know how to do that (no tutorial URIs, please).
> Here is the GUI library I want to port to D
> (http://www.rawmaterialsoftware.com/juce/). JUCE is the
> cross-platform development framework written in C++ (GUI oriented).
And apparently it's 150,000 lines of code! Yikes!
> There are no problems to port a regular C++ source code to D but...
> except for the one that uses multiple inheritance.
Actually there are lots of problems porting regular C++ to D. But I
won't give you a link to the page that lists many of them because you
asked for us not to give you URIs for some reason.
> Someone here
> claims that multiple inheritance might be easily emulated in D
> through the mixins and templates. But I see no defined way to embody
> this technique into porting the library mentioned above. Please, I
> need a help from anyone who can give me a descent advice on how to
> emulate multiple inheritance in D effectively for my specific
> purposes or how to avoid using multiple inheritance in D keeping the
> JUCE functionality intact.
If you're patient enough to translate 150,000 lines of code to D then
maybe you can be patient enough to take just a few moments to explain to
us how JUCE uses multiple inheritance.
--bb
More information about the Digitalmars-d
mailing list