digitalmars.D.learn - C# interop
- Eelco Hoogendoorn (11/11) Jan 30 2011 Hi,
- Simen kjaeraas (6/20) Jan 30 2011 There is at least one attempt to make a D compiler for .net, you might
- Trass3r (4/4) Jan 30 2011 As Simen said, there was an attempt to create an IL backend but it hasn'...
- Eelco Hoogendoorn (4/4) Jan 30 2011 Given that I explicitly stated my interest in to the
Hi, large libraries and excellent toolchain, with to the metal programming. 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! Regards, Eelco
Jan 30 2011
Eelco Hoogendoorn <hoogendoorn.eelco gmail.com> wrote:Hi, worlds; large libraries and excellent toolchain, with to the metal programming. 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
Jan 30 2011
As Simen said, there was an attempt to create an IL backend but it hasn't been updated since Aug 2009 and even it compiled you probably wouldn't have much fun with it. You could try to use a C bridge. But even then, I don't see the benefit.
Jan 30 2011
Given that I explicitly stated my interest in to the metal programming, I dont think the .NET implementation will do me any good, no matter how perfectly implemented it is.
Jan 30 2011