Other libraries - web site link, and other thoughts

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 16 00:32:47 PST 2016


Forgive if I'm suggesting something which was already discussed 
and dismissed, but I too would love a way to leverage C++ stuff 
into D. Can't we go to C++? Meaning there's a C++ compiler coming 
from the same hands as D. Couldn't we try to get the C++ compiler 
to compile in such a manner that D can easily pick up the result?

I will only use libraries where I have the source code, so from 
my point of view, I don't need binary compatibility. I also don't 
need D to pollute itself with the past. But if the Digital Mars 
C++ compiler could help and assist with creating libs/dlls etc 
that are properly set up for D and possibly produce the import 
for D, then it would solve a lot of things. For instance, if a 
project is in C++, you will need to be able to track revisions to 
that project, meaning the D conversion should be reasonably 
painless. Take something like WxWidgets for instance, the D port 
is stale, but WxWidgets is compatible with Digital Mars. If any 
project doesn't support Digital Mars C++, then it would be a C++ 
to C++ port, which is always going to be easier and less volatile 
than a C++ to D port.

Just wondering....




More information about the Digitalmars-d-learn mailing list