Accessing C++ code from D
Walter Bright
newshound at digitalmars.com
Tue May 16 09:31:16 PDT 2006
Jari-Matti Mäkelä wrote:
> James Dunne wrote:
>> Disclaimer: I realize this is to the point of absurdity, but I would
>> try to make the point that it is no more absurd than to expect any more
>> out of a language (C++) that has designed itself into a corner.
>
> That's right. I wouldn't be surprised if automatic conversion of C++
> code to Java/C#/Eiffel/Ruby/... weren't any easier than this. On the
> other hand converting all these to D seems to be almost trivial,
> although creating such a tool for the task is admittedly a bit time
> consuming.
Automated conversion of Java/C# to D would be reasonable, maybe Eiffel.
Ruby definitely not, as Ruby relies on dynamic typing and dynamic code
modification.
I do agree, however, that C++ has rather thoroughly wedged itself into a
corner. One only has to look at the proposals for C++0x to see that.
More information about the Digitalmars-d
mailing list