4 ms·
You can compile C++ directly to MSIL if you want...
by pjc50 8y ago
You can compile C++ directly to MSIL if you want...
- indentit 8y agoOoh, instructions as to how would be super, please :)
- indentit 8y agois it somehow related to "mixed mode assemblies"[1]? [1]: https://github.com/dotnet/coreclr/issues/18013 https://github.com/dotnet/coreclr/issues/18013
- pjc50 8y agoVisual studio compiler option "/clr": https://www.visualcplusdotnet.com/visualcplusdotnet1.html https://www.visualcplusdotnet.com/visualcplusdotnet1.html There's a bunch of language extensions which let you access C# heap, string types etc from C++. You may want to define a "shim" layer to do the translation, but the bulk of your existing C++ can just compile straight across.