Search code examples
.netc++browsercil

Is there a way to compile C++ code to Microsoft .Net CIL (bytecode)?


I.e., a web browser client would be written in C++ !!!


Solution

  • There are a two choices. Managed C++ (/clr:oldSyntax, no longer maintained) or C++/CLI (definitely maintained). You'll want to use /clr:safe for in-browser software, because you wnat the browser to be able to verify it.