|
-
May 20th, 2004, 09:05 PM
#1
Thread Starter
Lively Member
Speed: VB6 vs VB.NET
I am making an application where the speed of the program is absolutely critical (milliseconds count). The program will, in essence, be browsing the web, and processing the data it gets from web pages (no, this isnt a crawler or anything malicious I promise) and then taking actions based on what it finds. It has to do with getting world news.
Milliseconds count -- what will be faster. VB6 or VB.NET. I don't care about ease of coding or anything along those lines, I just need the most efficent way of doing this.
-
May 21st, 2004, 04:08 AM
#2
Retired VBF Adm1nistrator
VB.Net is far faster once the application is loaded and running I've found.
But if you're developing an application in which its browsing the internet - then milliseconds won't make a difference because entire web requests could take any number of seconds - not milliseconds...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 21st, 2004, 09:46 AM
#3
Addicted Member
VB.net is the way to go...
I am also writing a program where millisecond accuracy is important and .Net is doing it great. The speed of your computer also makes a huge difference. When running my program on a 1.7ghz processor to a 2.4ghz makes a huge difference. So get the fastest machine that you can.
There are also many articles on how to optimize code in VB.net for maximium performance. One of the ways is to use the new operators ANDALSO and ORELSE found in this article:
http://msdn.microsoft.com/vbasic/usi...et03252003.asp
Good Luck.
-
May 21st, 2004, 10:09 AM
#4
PowerPoster
If you are writing a application that needs performance boosts in the millisecond range, why are you using a high level language such as VB anyway? Look at assembly or C++. Both will yield much better performance.
-
May 24th, 2004, 12:17 AM
#5
Thread Starter
Lively Member
I am not writing it in C++ or ASM because in VB it's about 600 pages long, in either one of those it'd be far longer + I don't know either.
And as to browsing the web -- its highly multithreaded (about 100 threads at once so that cuts down on that).
-
May 24th, 2004, 02:54 AM
#6
Retired VBF Adm1nistrator
A hundred threads will hammer the machine and its network IO to your hub or switch or router.
I don't think you should be concerned with milliseconds here...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
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
|