PDA

Click to See Complete Forum and Search --> : Speed difference: VB6.0 vs C# Express/VB Express


dee-u
May 17th, 2006, 02:44 AM
Anyone here know which is faster between the two?

RobDog888
May 17th, 2006, 02:47 AM
I thought there was a 3% variance where vb6 was faster then .net 1.1 apps. Not sure about 2.0 but it was supossed to be improved. So I would say .NET is faster.

dee-u
May 17th, 2006, 02:49 AM
I have heard that assumption before but a link would come in handy... :)

RobDog888
May 17th, 2006, 03:05 AM
I just remember reading it somewhere on VBF. There may have been a link in one of the posts. Probably easier then searching MS.

penagate
May 17th, 2006, 04:11 AM
Do you want theoretical, practical, or Jacob Roman?

Hack
May 17th, 2006, 06:28 AM
Do you want theoretical, practical, or Jacob Roman?:lol: Give us all three! :lol:

dee-u
May 17th, 2006, 07:09 AM
Do you want theoretical, practical, or Jacob Roman?

I want real... :D

penagate
May 17th, 2006, 07:23 AM
Theoretical I can give you. In an ideal world with a JIT compiler that had every optimisation tweak for every platform, .NET will always be faster as it can take advantage of the platform-specific advantages. Precompiled code cannot to a full degree without sacrificing compatibility.

Practical - I guess the question to ask is what sort of operations you are looking to compare the two platforms on. I don't think there would be a consistent variance between them. For the most basic of applications, .NET certainly has more overheads (JIT compilation, exception handling, garbage collection) but in a large app these can be valuable features to have. I am dodging the question slightly as I don't have (and couldn't quickly find) a straightforward response to it, but you could always create conceptual benchmarks, if you just want numbers.

Jacob Roman - VB.NET is about 3% slower than VB6 and I hate it because this and that and blah blah.

Lastly I will add that well-written structured code will always outperform badly written spaghetti, no matter the platforms, or flavours of sauce. Good logic has no substitute.

Hack
May 17th, 2006, 07:59 AM
Lastly I will add that well-written structured code will always outperform badly written spaghetti, no matter the platforms, or flavours of sauce. Good logic has no substitute.Amen! :thumb:

Merrion
May 17th, 2006, 11:33 AM
There are two measured of speed - run time performance and development turn around time. VB6 and VB.net are in the same ballpark in the former, but VB.Net is a significant productivity boost in the latter.