[Mono-dev] [Mono-devel-list] Operating System in C# Project

Victor Costan costan at MIT.EDU
Mon Oct 30 20:20:58 EST 2006


I would like to conjecture that a good MSIL -> native compiler work make the
C# memory management code execute at the same speed as compiled C code.
After all, C code gets converted to an intermediate language too, as part of
the compilation. Both methods express the same computations, so it should be
possible to express them in similar ways when outputting binary code. If
anything, MSIL has more annotations, so it should enable more optimizations
and better tools.

That being said, I don't think mono or .net have reached the maturity
required for this goal. However, having the managed OS running (perhaps
slower) should provide some reasons and an experimental platform for
optimizing the MSIL to native compilers.

Bottom line: it might run slower now, but let's still do it :D

	Victor


-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Martin Hinks
Sent: Monday, October 30, 2006 1:24 PM
To: Johann MacDonagh
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] [Mono-devel-list] Operating System in C# Project

I suppose the overhead shouldn't be enormous on unsafe ops - except
that the runtime is still consuming background resources and, as you
say, startup times are increased.


On 10/30/06, Johann MacDonagh <johann at macdonaghs.com> wrote:
>
> Although there is a lot of overhead to start up a managed executable, I'm
> sure unsafe pointer operations are just as fast as their C counterparts.
>





More information about the Mono-devel-list mailing list