On Wed, 2002-04-24 at 17:47, Miguel de Icaza wrote: > > 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.
I think of pinvoke as a reuse mechanism more so than an optimization mechanism. Writing a shell that does frequent calls into C libraries with pinvoke may produce enough marshaling overhead to marginalize any gains you get from the optimized c code. Mike _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
