Is there any .NET / CLI implementation on a C # compiler?

I just want ECMA to be translated into native code with a fundamental runtime (garbage collector), etc. I'm not talking about .NET, just the C # language specification.

Using C #, like any other native compilation language, as an alternative to langauge for Delphi, D or C ++, as it offers generic types, extended types, garbage collection, and many other nice features. Like a langauge it's pretty nice.

But I don’t like .NET and I don’t find it very portable (anyone for PA-RISC HP-UX anyone?).

So, compiling on C99 would be much better than compiling on native (that's how it works for Eiffel very well).

+5
source share
4 answers

Maybe the Salamander.NET mini-deployment tool can help you, it converts the code to native and has a built-in runtime, so the .NET Framework is not required to deploy.

0
source

Within Mono, an integrated compilation is supported, which they call Ahead Of Time (AOT) compilation. More details here: http://www.mono-project.com/AOT

+1
source

Microsoft Native Image Generator (NGEN) .NET . , JIT , .NET Framework .

(Ngen.exe) , . Ngen.exe , , . " " (JIT) .

Perhaps you could clarify the context in which you need your own code for your .NET collections? Depending on the purpose, NGEN can be quite good, although a tool that actually eliminates dependencies on the .NET Framework may be what you want.

0
source

All Articles