C# interop

Simen kjaeraas simen.kjaras at gmail.com
Sun Jan 30 08:06:43 PST 2011


Eelco Hoogendoorn <hoogendoorn.eelco at gmail.com> wrote:

> Hi,
>
> I am trying to combine C# and D, to get what is to me the best of both  
> worlds; large libraries and excellent toolchain, with to the
> metal programming.
>
> Currently, I am doing this by means of C#/CLI/C++ interop, but I got  
> reminded as to why I hate C++ so much after spending a few days
> trying to get something as simple as ranges to work. But the interop  
> works smooth; no complaints there.
>
> I am using visual D, if it matters any.
>
> What would be the best way to go about this? The D documentation is  
> kindof cryptic to a non-professional like me. It doesnt seem as
> if I will be able to use D classes inside CLI, so I think that means I  
> might as well ditch it altogether and just use Pinvoke?
>
> Any suggestions are appreciated!

There is at least one attempt to make a D compiler for .net, you might
want to give that a try:
http://dnet.codeplex.com/

-- 
Simen


More information about the Digitalmars-d-learn mailing list