Jump to content
Compatible Support Forums
Sign in to follow this  
AndyFair

.NET apps vs. Win32 API applications: Opinions?

Recommended Posts

I haven't played much with .NET apps yet, at least not with large applications.

It seems logical that they would be slower compared to a standard Win32 application - because, IIRC, .NET uses an interpreted code (albeit using an intermediate "common runtime language" more akin to microcode than VB interpretation) like Java. Logic suggests that this interpretation step will make the application run slower, because you're adding a step that doesn't exist in fully-compiled Win32 apps written in C/C++ etc.

 

I'm not sure how it compares with VB apps though - which is faster, VB6 or VB.NET?

 

.NET was developed with the idea of application portability in mind (in that all applications, regardless of the source language, all compile to the same runtime language) - but portability to what? Does .NET run on anything other than Windows? I'm not entirely sure what MS were trying to achieve here, other than trying spite Java.

 

Maybe someone who knows can enlighten me?

 

Rgds

AndyF

Share this post


Link to post

I can only speak from experience but in a corporate environment I can say that .NET:

 

Is far more scalable in a multiple server architecture.

Is more effecient in code terms .. of course thats down to your progammer too wink.

 

Essentially its a matter of ".net can do that better'... so thats not saying vb6 is worse of course. From the user end you do get a better performing app but again only if the programmer has coded the .net way and not stuck to vb5/6 methods.

 

As for the idea of it...well good question .... the only benifits i see from a business end is that developments take less time, there is less code and if done right is better performing, more stable and more scalable.

 

We have a legacy system that uses purely vb5. We have no real problems with that really- except functionality that is easy to define in .net just has to be coded from scratch in vb5.

 

I can also add that since our server side .net stuff is more effecient we have had to upgrade our hardware and our clients since suddenly the bottleneck was the hardware and not the software!

Share this post


Link to post

I prefer working in .Net myself, as I find it easier. I prefer OOP such as Java (hence why I like C#), but I don't care for the Java VM all that much. I haven't done much in console stuff (only tested some GUI stuff, and one command line-based XML translator) but rather, I work in web apps.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×