Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any none .NET/CLI based implementation of a C# compiler?

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

Using C# like any other native compiling language as a langauge alternative for Delphi, D or C++ because it offers generics, expanded types, garbage collection and many other nice features. As a langauge it's pretty nice.

But i don't like .NET nor do i find it very portable (.NET for PA-RISC's HP-UX anyone?).

So a compilation to C99 would be much, much better then compilation to native (that’s how it works very well for Eiffel).

like image 742
Lothar Avatar asked Nov 14 '22 14:11

Lothar


1 Answers

The Mono framework has support for native compilation, which they call Ahead Of Time (AOT) compilation. More here: http://www.mono-project.com/AOT

like image 124
Alex Avatar answered Jan 02 '23 00:01

Alex