PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

"Free" PPC with Compact .NET

Microsoft has announced a free Viewsonic V37 to developers that sign up for Visual Studio.NET 2003. Bill Gates also made announcements about the .NET Compact Framework. I don't know how much Visual Studio.NET costs, but it's probably several hundred dollars.

Full Article
Additional Article

Dan East
*cough* $1100

for the pro version... unless you're upgrading

the enterprise editions are 1800 and 2400


I am kind of ambivalent about the whole .net thing, particularly the JIT compiler. Maybe if you could prejit your functions before executing them...
Dave Johnston · 22 Mar 2003, 13:06 UTC
I think .net works by having machine-independant bytecode, which the JIT compiler then converts to more machine-dependant bitcode the first time it is run after installation on a system. So, first-run it has a slight startup delay, but after that is much faster since a bunch of optimisations have been made for that particular system.

That's the idea, anyway.
Sergey Chaban · 22 Mar 2003, 15:51 UTC
No, bytecode is JIT-compiled every time you run the binary, but there is a tool (ngen) that allows precompilation, either by hand or at install-time.
But there is no such tool for the Compact Framework.
And this is different than CEF in what way?

Microsoft finally came to their senses and standardized the Pocket PC processor type, so it's a little late for the universal code.

Dan East
Sergey Chaban · 22 Mar 2003, 17:01 UTC
It's quite different.
First CEF is only a bytecode format, while CF is both binary format and libraries (which libraries are far better than MFC, IMHO).
You can compile several languages down to CIL (.NET bytecode), although only C#, VB.NET and JS currently "officially" supported (it's still possible to compile C/C++ to CIL and run it on top of CF).
CF as I said is binary portable i.e. compiled before execution while CEF IIRC compiled during installation, basically it's possible to run the same .exe on desktop and PocketPC or say send it over IR to another WinCE device (with different CPU) and run it there.
While ARM is standard for PocketPC, other CPU types are still in use in some non-PPC WinCE devices, so binary portability may be important in some cases. CompactFramework includes runtimes for all CPU types supported by CE.
Also while ARM is standard, there are different versions in use and JITter could take advantage of say XScale/V5 extensions or Thumb code (admitely CEF could do the same).
CEF (AFAIK) is a register-based bytecode while CIL is stack based that makes it somewhat easier to optimize at the JIT stage (there are some aspect of CIL that makes it different from Java bytecode and better suited for optimizations).

.NET is clearly not the best choice for interactive games and such, it's mostly for those boring business apps I'd say.
Also CF JIT compiler is not as good as their desktop jitter. And on top of that CF libraries are pretty limited. OTOH, in .NET it's very easy to interoperate with native code (compared to Java).

BTW, it's possible to install CF on any CE 3.0+ device not just PPC2002 as they say, installer complains about unsupported version but everything works just fine. For example I have it installed on a J720.
superman wrote:
*cough* $1100

for the pro version... unless you're upgrading

the enterprise editions are 1800 and 2400


I think Microsoft have no idea how much us measly developers make...... :(

-B
Sorry to be ignorant, but what's the point of having a cross-platform framework if Windows only runs on two or three platforms?
Sergey Chaban · 24 Mar 2003, 02:21 UTC
Hey Damian, but two-three that's a lot already ;)
Besides there are at least 4 different implementations of .NET that run on different OSes.
And you're not ignorant, nobody knows the definite answer to this question anyway :?
There are some really cool concepts in .net. The new IDE alone is almost reason enough to upgrade ( though not for ~$1000 mind you ).

Of course with all those great features, you get all the crap that you don't want.