ngen.exe for .net compact framework

G

Guest

Can ngen.exe be used for .net compact framework applications?
or are there any such tools?

what I would like to know is, if not, why cant it be?
is this because that assemblies on .net compact framework platform are
different than the
..net framework assemblies and are in addressable block format
since the devices do not have Memory Management Unit?

thanx
rifat
 
C

Chris Tacke, eMVP

No, CF assemblies cannot be precompiled like full framework assemblies.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
D

Daniel Moth

The reason it is not supported is due to size. The JITter produces native
code that is larger than the managed code. Having both on your device would
take up to much space. This is also the reason that on the CF JITted code is
pitched when memory pressure occurs unlike the full framework where the GC
never collects JITted code. Even without the pitching, since code is only
JITted on demand, the only native code you carry is the one you are actually
using.

Cheers
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top