|
-
Nov 23rd, 2005, 01:43 AM
#1
Thread Starter
Addicted Member
VB.NET run faster than Vb 6
When i read a VB.NET book, it is said that VB.NET run faster than VB 6. Can one explain about this clearly? Why it run faster?
-
Nov 23rd, 2005, 02:12 AM
#2
Re: VB.NET run faster than Vb 6
What version of VB.Net are we talking about here?
-
Nov 27th, 2005, 03:28 AM
#3
Thread Starter
Addicted Member
Re: VB.NET run faster than Vb 6
-
Nov 30th, 2005, 12:05 PM
#4
Re: VB.NET run faster than Vb 6
.NET runs faster than VB6 (when VB6 is compiling to PCode). If vb6 is compiled to native then the margin is narrowed somewhat. But there is still an advantage to .net most of the time.
I don't live here any more.
-
Nov 30th, 2005, 09:29 PM
#5
Re: VB.NET run faster than Vb 6
 Originally Posted by wossname
.NET runs faster than VB6 (when VB6 is compiling to PCode). If vb6 is compiled to native then the margin is narrowed somewhat. But there is still an advantage to .net most of the time.
I thought Vb6.0 is faster than VB.net 2003?
-
Dec 1st, 2005, 04:56 PM
#6
Re: VB.NET run faster than Vb 6
I think it varies on so many thigns its hard to judge, I'd expect 2003 to be faster than 6 and 2005 to be more of an improvment
Pino
-
Dec 1st, 2005, 08:39 PM
#7
Re: VB.NET run faster than Vb 6
 Originally Posted by Pino
I think it varies on so many thigns its hard to judge, I'd expect 2003 to be faster than 6 and 2005 to be more of an improvment
Pino
Seems weird, you mean 2003 is faster than 2005?
-
Dec 2nd, 2005, 04:30 AM
#8
Re: VB.NET run faster than Vb 6
no let me re-phrase
I think it varies on so many thigns its hard to judge, I'd expect 2003 to be faster than 6 and 2005 to be more of an improvment on 2003
Pino
-
Dec 5th, 2005, 02:05 AM
#9
Fanatic Member
Re: VB.NET run faster than Vb 6
I still dont understand what the fuss is about the speed difference.... it is going to be irrelevant once Vista is in place.... Move to .NET or become extinct!
-
Dec 5th, 2005, 04:16 AM
#10
Addicted Member
-
Dec 5th, 2005, 04:17 AM
#11
Addicted Member
Re: VB.NET run faster than Vb 6
Btw, vb6 is gonna become a little extinct because its a 32bit compiler and not a 64-bit compiler. There's no other reason than that.
-
Dec 5th, 2005, 07:40 PM
#12
Re: VB.NET run faster than Vb 6
 Originally Posted by dee-u
I thought Vb6.0 is faster than VB.net 2003?
It is. VB6 is about 3% faster than VB.NET. I'd expect .NET to be somewhat of an improvement with all the new features and all, but what I hate about it is...
1) The fact that it's 100% object oriented, forcing me to dig through all sorts of classes to find the functions I need, rather than calling the subs/functions on demand.
2) The exe's are too large. Compare a "Hello World" app in VB6 (7k) to VB.NET (500k).
3) The apps require the framework to be installed and usually updated.
4) It executes slower than VB6. It could have been as fast as C++, but MS focused on more of their so-called "ease of use" over speed.
5) The classic BASIC syntax that's been around for almost 40 years has been annihilated, and now it is pretty much its own language. Mostly looking like C++ though. The syntax looks hardly like VB6 now, and you are forced to relearn VB.
-
Dec 6th, 2005, 12:32 AM
#13
Fanatic Member
Re: VB.NET run faster than Vb 6
Ahhhhh! I actually have to learn to program now.....? Ahhhh! My world is coming to an end!
-
Dec 6th, 2005, 08:35 AM
#14
Addicted Member
Re: VB.NET run faster than Vb 6
VB6 is about 3% faster than VB.NET
There isn't a fixed value because some of VB.NET functions are sometimes faster than vb6 - this im referring to is what functions you call in msvbvm60.dll e.g. Chr$, Str$, Left$ etc. etc. (some may runn gfaster/or slower I do not know for sure)
I'm quite confident vb.net 2002 is slower than vb6 most of the time and these benchmarks will show a vague idea on various maths functions.
http://directx4vb.vbgamer.com/Direct...M_NETvsVB6.asp
But there is always 1 guarantee - .net apps are memory hogs like java (though not as bad)
A Hello World app in VB.NET is 5 mb in memory while a vb6 equiv ....is surprisingly quite big too - 2mb (my explanation for this must be the fact that the vb runtime library must be loaded.
but still thats half the vb.net app. 
5) The classic BASIC syntax that's been around for almost 40 years has been annihilated, and now it is pretty much its own language. Mostly looking like C++ though. The syntax looks hardly like VB6 now, and you are forced to relearn VB.
Hmmm I thought vb looked like c++ crossed with the classic BASIC - well I can feel the c++ underlying its roots - in the object oriented side.
i think vb.net looks more like c#.
But I guess ppl have different opinions.
Actually, unlike c, BASIC seems to have more of an ASM look than c lol 
But aye, just my opinion.
Btw, the BASIC language is not annihilated just nearly annihilated 
1) The fact that it's 100% object oriented, forcing me to dig through all sorts of classes to find the functions I need, rather than calling the subs/functions on demand.
Yeah, sometimes the best solutions are function and subroutines. Classes are good but there are times when they are completely unnecessary and just add extra overhead which absolutely pointless.
Why .NET?
Why...why....why....why....why....why ?
Vista is based on .NET
Microsoft is creating Windows Vista - it creates new upgrades required by all users.
It slugs down ogl and prevents ogl extensions(unless you disable the Aero desktop)
- which indirectly attacks Macs and Linux machines which use OGL. - ie developers will aim for the bigger ms market.
This is the most worrying - i found references that winapi is gonna remain but new .NET API only available for .NET applications will be used in Win Vista. Does this mean that new windows features aren't available with non-.NET?
I've thought this over and I think if they are any - a simple wrapper can be written in order to export these extra .NET crap for non .NET programmers.
Businesses? - they will certainly be a great number of .NET programmers in the coming years - but Linux is prevalent in business markets - meaning no .NET and .NET programs have a habit of being less efficient than other native languages. Therefore I feel native language programmers will still be alive - as long as you are competent at programming and not produce code as bad as .NET .
As .NET is slower than c++ , it implies that ASM programmers can make progs that run at least 2x as fast as .NET .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|