[Mono-list] Making a compiler neutral mono (i.e. CodeWarrior, Visual C++)

Miguel de Icaza miguel@ximian.com
24 Apr 2002 18:47:44 -0400


> On a related note.  For serious game development using C#
> for core code, there needs to be a C# to C compiler that
> would allow engine C# code to be compiled to C code that
> could be run through the vectorizing and optimizing
> compilers for the various platforms.

Or you could write your performance critical code in C or assembler. 
And P/Invoke it from the higher levels of code that do not need the
performance.

> Is anyone else interested in a C# to c compiler that could
> be used to build precompiled heavily optimized code that
> would integrate well with the JIT code?

There will be few places where you could actually get a gain from the
optimized C code, and that will be places where you can infer things
about the data you are operating on (in unsafe contexts for example), 

But you are welcome to try ;-)
Miguel.