-
VB6.0 vs VB.Net, Performance difference....
What is the performance difference (in terms of speed, efficiency, robustness, etc....) of an app programmed in vb6.0 and the same app coded in vb.net? Those app's would do just the same thing but I want to know the performance difference if they are coded in vb6.0 and vb.net.....
I have just made my "Hello World" in VB.Net this morning :p ....
I think if I would know the counterpart syntax of vb6.0 in vb.net then I could learn it easier..... I have just made some readings on declaring variables, control arrays, etc.....
-
Re: VB6.0 vs VB.Net, Performance difference....
Vb .Net rules!
Do a search for this type of question :p
-
Re: VB6.0 vs VB.Net, Performance difference....
Well the speed is debateable, depends what you are trying to do.
Efficiency and robustness are two big tickmarks in VB.Net's column.
-
Re: VB6.0 vs VB.Net, Performance difference....
I am thinking, as an exercise in vb.net I want to convert a small app that I coded in vb6.0 to its vb.net equivalent... For example a webbrowser that is created in vb6.0 is converted to vb.net, will it become faster? I have heard that vb.Net is decompilable, is it true? Some programmers even say that its .Not and not .Net....
-
Re: VB6.0 vs VB.Net, Performance difference....
:lol: @ .Not
Those are the same programmers that are writing VBA scripts at work and think they are 31337.
Pretty much any language is decompilable it just depends on the amount of work the hax0r is prepared to do.
A webbrowser's speed is determined by your internet connection's baudrate not by the code (in most cases). It may take a second longer to load in .net but overall performance will be improved. Memory management is much improved in .Net.
Just get on with .Net. Time is money. :D
-
Re: VB6.0 vs VB.Net, Performance difference....
-
Re: VB6.0 vs VB.Net, Performance difference....
hmm those seem to be testing mostly just math funtions.
The one test on there all application probally use memory allocation is won by vb.net
-
Re: VB6.0 vs VB.Net, Performance difference....
So its 0.034x slower. The development time is faster in .NET then VB6 ever was. There is allot of code (modules of it) in VB6 that
can be duplicated in .NET in just a few lines, if not a single line of code or property setting!
.NET Rules !!!
-
Re: VB6.0 vs VB.Net, Performance difference....
So, what should I try to talk the company into? VB 2005, or something already out?
-
Re: VB6.0 vs VB.Net, Performance difference....
They should get a MSDN subscription if your company does software development projects enough to justify the cost.
Its can be allot initially but the renewal each year is allot less.
-
Re: VB6.0 vs VB.Net, Performance difference....
Here is a discussion of vb6.0 and vb.net.....
-
Re: VB6.0 vs VB.Net, Performance difference....
I wonder who is that guy that started that thread @ CG. ;)
-
Re: VB6.0 vs VB.Net, Performance difference....
i was really debating to learn .net, now i am i think its pretty neat. So far im in love with the easy was to do random/read&write to files/commondialog. You will get the syntax right away.
-
Re: VB6.0 vs VB.Net, Performance difference....
On what Platforms/OS could an app programmed in vb.net could be installed? Could it be installed in win98, winME or Linux?
Quote:
Originally Posted by RobDog888
I wonder who is that guy that started that thread @ CG. ;)
I'm wondering myself..... :p
-
Re: VB6.0 vs VB.Net, Performance difference....
I believe its all Windows OS' from 98 SE +
-
Re: VB6.0 vs VB.Net, Performance difference....
Quote:
Originally Posted by dee-u
On what Platforms/OS could an app programmed in vb.net could be installed? Could it be installed in win98, winME or Linux?
I'm wondering myself..... :p
Linux ;p
LOL
Nope :)
-
Re: VB6.0 vs VB.Net, Performance difference....
When installing vs.net there are prerequisites that have to be installed, would those prerequisites needed to be installed on the computer where the app will be installed?
-
Re: VB6.0 vs VB.Net, Performance difference....
Yes, the .NET framework must be installed on target PC but thats very common these days. (Ie it is installed everywhere)
-
Re: VB6.0 vs VB.Net, Performance difference....
It comes with XP SP-2 already and will come already installed in Longhorn.
-
Re: VB6.0 vs VB.Net, Performance difference....
or you could just switch to Borland Delphi 2005 - damn, i wish i could afford to go from Delphi 7 to 2005 :mad:
-
Re: VB6.0 vs VB.Net, Performance difference....
Quote:
Originally Posted by dee-u
On what Platforms/OS could an app programmed in vb.net could be installed? Could it be installed in win98, winME or Linux?
I'm wondering myself..... :p
Check out the Mono Project. Yes in theory you are correct, MS made .NET an open standard so it can be cross platform and multi language.
-
Re: VB6.0 vs VB.Net, Performance difference....
Yap, somebody told me that .Net is supposed to be Cross Platform but had doubts in it... Could Win98 and ME handle the .Net Framework?
-
Re: VB6.0 vs VB.Net, Performance difference....
-
Re: VB6.0 vs VB.Net, Performance difference....
I saw it ;) but maybe some elaboration would help... :thumb: Since there are many computers here that use win98 and winME and I'm afraid that if I'll develop apps in vb.net I wouldnt be able to install it in those computers...
-
Re: VB6.0 vs VB.Net, Performance difference....
[elaboration]Yes/No[/elaboration]
Yes for Windows 98 and also Yes for windows ME, but ME is worse then 98 and I would be more concerned about ME, not
being self-centered. :D.
-
Re: VB6.0 vs VB.Net, Performance difference....
-
Re: VB6.0 vs VB.Net, Performance difference....
Also, 2.0 version of the Framework is 20-40% faster then version 1.1.
I believe that Jacob Roman had posted that the 1.1 version was 1.037... seconds slower then VB6 runtimes or such. So
now with 2.0 it should be faster then VB6 by a decent margin. ;)
-
Re: VB6.0 vs VB.Net, Performance difference....
Well, the tests there aren't too reliable: he got so used to VB.NET code that he forgot the way VB6 should be coded :D
One good example is the code on GenerateLightMap. It is a well known fact that VB6 is slow with multidimensional arrays (Dim Data(0 To 639, 0 To 479) As Long). It is much faster to use one dimensional array. The result gets much more understandable after changing that: 22 ms (VB6) vs. 18 ms (.NET). The old style VB6 code was 40 ms on my machine. So his claim:
Quote:
In real-world terms, should you wish to use this process/technique to generate lighting in your games the two times listed above correspond to ~24fps and ~58fps (maximum possible). The former being VB6's time, which while interactive would prove to be quite jerky; the latter being VB.Net's which would be very smooth and pose no real problem to interactivity.
...is somewhat ridiculous in this case.
Just cleaning that error I saw there.
-
Re: VB6.0 vs VB.Net, Performance difference....
At least for the Framework improvement, MS did the testing and the 20-40% increase in performance was what I read on the
MS site. If I find the link I can post it.