Pre-compile MSIL to native machine code

  • Thread starter Thread starter Sérgio Pinheiro
  • Start date Start date
S

Sérgio Pinheiro

Does anyone knows a way to pre-compile the CF generated MSIL to the native's
device processor code just as in the full-framework .
So i could deploy those pre-compiled assemblies to the device instead MSIL.

Please... i would not like to discuss the pros and cons... or the benefits
using this...

Just the right way to do it. May someone from msft help me?... I'm sure this
will help many others also.

Thanks in advance,

Sérgio Pinheiro, mcsd charter member, mcdba, mcse+i, mcp+sb, mct
FolloWin Informática Ltda
São Paulo-SP Brazil
 
Great...
Any ideas of third party solutions, (unsupported) support utilities, ou
programatically way to do that?
thanks again for the ng time...
 
The application is entirely customizable via xml files... including dialogs,
grids, etc.
So after optimizing each code-line... reducing at max method calls... we
stay with a lot of work to do while loading each form.
This app will run on high end handhelds but also on old machines... because
there is already a embbeded C++ version running...
And with the ability to update on the fly... JIT costs are suffered on each
update...

We sell this solution to many big corps in latin america... and about 60.000
people use it.
There is another strategic requirement ... many classes (model, controller,
business, factory, dal, ...) are shared with the web version (this is why
..net is the answer)...
So huge performance is a must....

About helping many others... as an ISV, we can't explain to the regular user
the costs of just-in-time compile... also the benefits of the optimizations
made while running the code... are really inexpresive... compared to the
cost... of a single user / smart device application...

Thinking about a high-end server application running 7x24... may be the
benefits justify the possible costs of JIT... but with a small (and possible
slow)... it isn't true... despite the marketing / ppts (brain-washing)
materials... We sell solutions... not magic presentations...

Many other ISVs are in the same dilema about CF... and the possibility to
pre-compile... increasing the loading time and response time is a critical
issue in this scenario...
The sales-man or the executive with the hand-held just don't care about the
way we do it...
And maintain entirely separate versions of the application just because the
presentation tier is diferent is not a good strategy for any ISV businnes...

Microsoft knows that...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetperftechs.asp
"Precompiling Code (Using ngen.exe)
For an application vendor, the ability to precompile code during
installation is an attractive option. Microsoft does provide this option in
the form ngen.exe, which will let you run the normal JIT compiler over your
whole program once, and save the result..."

We know that for some time consuming tasks... jit can optimize the generated
code at run time... but we want the option to decide it... not ms... as we
have on the full framework...
And this is not limited by the CF or PPC environment... because... in the
same way we can test apps with an emulator... or compile apps using eVC++...
a simple utility targeting each platform... isn't a hard task for ms... and
could help ms partners bringing better and fast-enought solutions for ms
customers...

Anyway... tks again...


Sérgio Pinheiro, MCSD Charter Member - since apr 1995
MCDBA, MCSE+I, MCP+SB, MCT
FolloWin Informática Ltda
São Paulo-SP Brazil
 
Back
Top