Anyone here know which is faster between the two?
Printable View
Anyone here know which is faster between the two?
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.
I have heard that assumption before but a link would come in handy... :)
I just remember reading it somewhere on VBF. There may have been a link in one of the posts. Probably easier then searching MS.
Do you want theoretical, practical, or Jacob Roman?
:lol: Give us all three! :lol:Quote:
Originally Posted by penagate
I want real... :DQuote:
Originally Posted by penagate
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.
Amen! :thumb:Quote:
Originally Posted by penagate
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.