.NET C++ Dynamic Compiling  
Author Message
Scratattack





PostPosted: .NET Base Class Library, .NET C++ Dynamic Compiling Top

Hi all,

Although CSharp.CSharpCodeProvider and VisualBasic.VBCodeProvider work well for compiling source code "on the fly", it seems that the C++ version doesn't.

Actually, I'm looking for a library that would allow me to compile (unmanaged) C++ source code the same way the CSharpCodeProvider and VBCodeProvider do.

It would be better if it was a .NET library but a C++ one would make it.

Does anyone know a free C++ compiler library Is it possible to use the one used in VC++

Thanks for your time,

Sincerely,

Quentin Bereau



.NET Development9  
 
 
nobugz





PostPosted: .NET Base Class Library, .NET C++ Dynamic Compiling Top

I'm sure there are lots of reasons why C++ will never see a functional CodeDomProvider implementation. The long and large investment in c1.exe, c2.exe and link.exe are one reason. The recent announcement from the C++ team that they'll concentrate on supporting native code development rather than trying to catch up is perhaps more relevant. Makes sense to me, there is an awful lot of catching up to do.

I don't know what you think about that post. To me, it reads like continuing to use C++ for managed development is a long walk down a short pier. Shame. But, time to move on...