I share the same concerns. It just doesnt make sense, how even if .NET is the "native" api for Longhrn, it will solve this issue. whenever you have intermediate code and garbage collection, you lose performace, and there is no way around it. I guess everything will be slower? and MS just doesnt care cuz we will all have good computers anyway. Or am I wrong about this?Quote:
cannot understand how longhorn and .Net solve the performance issues without pointers. I found the programs written in C# very very slow in executing compared to C and C++. I did a few sample programs using C# in win2k and it took 5-6 seconds to print two strings
I am pretty sure that Win32 API will still be around for Linghorn. MS will have to support it just for all the applications that are already written using it.
I dont think the Win32 API and MFC will "die" until at least ~5 years after Longhorn comes out.
Personally, I really dont like .NET Framework. Whenever I can I choose not to use it, or any of its languages, and opt to do things in C++.
Currently, using the framework is a huge performance hit. The difference is actually noticable in use of the program; even on modern hardware. And there are still many people who write performance oriented apps, albeit probably half would be for Linux. The whole .NET thing seems to be to dumb down programming, and make it easier.
Currently, any .NET app has dependancies, and you cant guarantee it will run on any given machine. So you need to redistribute dotnetfx.exe with it or get your users to dl and intall it. That's a pretty big overhead now, when you can have a much smaller Win32 or statically linked MFC app with no more than 500k overhead. And I know it will run on any Win95+ machine. I admit this will not be an issue once Longhorn comes out.
To me, it's a lot like MS trying to pull off the Java thing. You basically have a set of languages that run on a sort of virtual machine (the .NET Framework). There are many other comparisons. Such as they are both not fully compiled. They are both slow. They are both "safer". Except there is one great advantage that Java has over .NET (and it's the main selling point of Java). It is truly cross-platform.
Lastly VB syntax is disgusting and irrational at best. :)
There are advantages to .NET, but call me a purist, or old fashioned, or whatever, I like my true C++ better.
Just my 2 cents,
Latem
