[Mono-list] Announce: A .NET assembly -> native code generation tool (ala ngen for MONO)

Dietmar Maurer dietmar@ximian.com
01 Aug 2002 07:55:38 +0200


On Thu, 2002-08-01 at 04:39, Fergus Henderson wrote:
> On 29-Jul-2002, Dietmar Maurer <dietmar@ximian.com> wrote:
> > On Sun, 2002-07-28 at 06:03, Miguel de Icaza wrote:
> > > Zoltan wrote:
> > > 
> > > >    The first version of my ngen clone for MONO is available at:
> > > > 
> > > > http://www.nexus.hu/vargaz2
> 
> Excellent.
> 
> > > This announcement is of course really exciting.  I have only taken a
> > > very superficial look so far at the code generator, but the approach is
> > > a very interesting idea.  I will let Dietmar and Paolo comment further
> > > on it.
> 
> I think this approach is a really good approach.
> 
> > > What I wanted to look into was to use the JIT to generate code that
> > > would end up in a library, basically reusing the JIT, but turning on all
> > > the optimizations for this.
> > 
> > This approach would also avoid much code duplication.
> 
> This approach is what MS did.  This approach sucks.
> You just won't get good performance that way.

Sure, but I also has some advantages. For example it works with
exceptions and garbage collection. I have no idea how we can include GC
support with the gcc approach.

- Dietmar