Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft's position on Visual FoxPro and .NET
Message
From
14/06/2004 16:43:06
 
 
To
14/06/2004 16:09:25
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Miscellaneous
Thread ID:
00908177
Message ID:
00913625
Views:
43
Hi, Walter.

>Not knowing the very details of it, AFAIK, the CLR is a type of interpreter (just like VFP use the pcode interpreter). I understand that there is a difference in the aspects that when it is translating into a lower level code, but still it is a engine that translates the high level instructions into highly efficient low level library of functions.

No, it is not. As Markus said, .NET actually compiles the IL code before running it, making all sort of optimizations for the target system. So you are achieving most of a regular C++ compiler optimizations can do, BUT on a per-run basis. Just for some circumstances in which you even need to get rid of the compilation time (and believe me it is blazingly fast), and providing your system will keep quite stable over time, you can compile permanently (well, until you want to do it again) to native code.

As several other pointed out, lots of benchmarking has been done, and .NET beats native unmanaged code in almost every test. Of course, there are some things -very few- in which unmanaged still performs better.

Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform