This is (done at install time) because ngen is optimized for processor and OS. NGen means the resultant assembly is faster. How much faster is debatable since ngen doesn't seem that popular.
I haven't done .NET stuff for a long time sans a few C# prototypes when required. On Thu, Sep 17, 2009 at 6:27 PM, Sean Cross <s...@picsprint.com> wrote: > What ngen does is a fairly long way away from what aot does. For most of > the reasons you would want native code, ngen isn't much help. For a > starter, it looks like ngening is typically done at install time not at > compile time. > > Sean > > -----Original Message----- > From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On > Behalf Of Jeremy North > Sent: 17 September 2009 6:04 p.m. > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] A change in upgrade policy coming from Embarcadero > > It creates a native image of the assembly for the current processor/OS > it was executed on. > > Well "native" delphi code won't run too well without a number of > windows DLLs either, therefore native delphi code still requires "a" > framework. It is just that the .NET framework isn't always installed > by default. You have to be careful when trying to split hairs. > > One company (can't remember which now) actually provided a sandbox > solution for .net applications. It was mighty expensive IIRC. > > > On Thu, Sep 17, 2009 at 3:56 PM, Sean Cross <s...@picsprint.com> wrote: >> NGen doesn't compile to native and still requires the framework to be >> installed. >> >> Sean >> >> -----Original Message----- >> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] > On >> Behalf Of Jeremy North >> Sent: 17 September 2009 5:21 p.m. >> To: NZ Borland Developers Group - Delphi List >> Subject: Re: [DUG] A change in upgrade policy coming from Embarcadero >> >> Surprised no one has mentioned NGen which comes with the framework. >> >> On Thu, Sep 17, 2009 at 3:06 PM, Sean Cross >> <sean.cr...@catalystrisk.co.nz> wrote: >>> Mono supports aot, which is compiling into native code. This is what > they >> do for the iPhone, compile .net to native. The iPhone constraints include >> jitting, hence the need for compiling to native code. >>> >>> Regards >>> >>> Sean Cross >>> CIO >> >> >> _______________________________________________ >> NZ Borland Developers Group - Delphi mailing list >> Post: delphi@delphi.org.nz >> Admin: http://delphi.org.nz/mailman/listinfo/delphi >> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe >> > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > > > _______________________________________________ > NZ Borland Developers Group - Delphi mailing list > Post: delphi@delphi.org.nz > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: > unsubscribe > _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe