473,383 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

vc is faster, no?

Ari
Hello all,

I have developed my companies product using visual basic.net. I've got
it designed how I like it. I'm ready for the speed. However, because
my main lags in the program are the network connections I would like to
ask if httpwebrequest are faster in vc++?

Could I rewrite my networking class in vc++ and see better performance
and leave the gui in visual basic?

Thank you for your time. I look forward to hearing what everyone has to
say.

Oct 27 '06 #1
2 953
Ari wrote:
Hello all,

I have developed my companies product using visual basic.net. I've got
it designed how I like it. I'm ready for the speed. However, because
my main lags in the program are the network connections I would like
to ask if httpwebrequest are faster in vc++?

Could I rewrite my networking class in vc++ and see better performance
and leave the gui in visual basic?

Thank you for your time. I look forward to hearing what everyone has
to say.
If your program is compute bound, you may be able to speed it up by writing
parts in C++. If your app is not computer bound (and you seem to be
indicating that it's not), then you'll likely see no difference in
performance at all by switching languages.

-cd
Oct 27 '06 #2
I have developed my companies product using visual basic.net. I've got
it designed how I like it. I'm ready for the speed. However, because
my main lags in the program are the network connections I would like to
ask if httpwebrequest are faster in vc++?

Could I rewrite my networking class in vc++ and see better performance
and leave the gui in visual basic?
It is a common approach to program GUI and non-critical things in C# or
VB.NET, and write the logic in native C++.

However, If your performance if network bound, then a rewrite will give you
no improvement.
OTOH, if the performance is bound by computing intense tasks, or moving
large blocks of memory around, then native C++ might give you a substantial
gain.

You'd have to go native anyway because C++/CLI (C++ compiled for .NET) is
just as performant as C# (and probably VB.NET) with optimizations enabled.

But if you think it might be worth your while, there is only one thing to
do, and that is the advice we give everyone who asks this question: Create a
test program and do a benchmark.
Software performance depends on so many things that that is the only way to
be sure.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Oct 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Armin Rigo | last post by:
Hi! This is a rant against the optimization trend of the Python interpreter. Sorting a list of 100000 integers in random order takes: * 0.75 seconds in Python 2.1 * 0.51 seconds in Python...
23
by: YinTat | last post by:
Hi, I learned C++ recently and I made a string class. A code example is this: class CString { public: inline CString(const char *rhs) { m_size = strlen(rhs);
98
by: jrefactors | last post by:
I heard people saying prefix increment is faster than postfix incerement, but I don't know what's the difference. They both are i = i+1. i++ ++i Please advise. thanks!!
65
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second...
1
by: James dean | last post by:
I done a test and i really do not know the reason why a jagged array who has the same number of elements as a multidimensional array is faster here is my test. I assign a value and do a small...
9
by: VenuGopal | last post by:
Hi, why n++ executes faster than n+1..... or does it realli execute faster? thanks Venugopal.B
11
by: ctman770 | last post by:
Hi Everyone, Is it faster to save the precise location of an html dom node into a variable in js, or to use getElementById everytime you need to access the node? I want to make my application...
12
by: karthikbalaguru | last post by:
Hi, How is 'Int' Faster than 'Char' ? I think , 'Char' is small and so it should be easily & efficiently . Can someone here provide some info regarding this. Thanks and Regards, Karthik...
23
by: Python Maniac | last post by:
I am new to Python however I would like some feedback from those who know more about Python than I do at this time. def scrambleLine(line): s = '' for c in line: s += chr(ord(c) | 0x80)...
41
by: c | last post by:
Hi every one, Me and my Cousin were talking about C and C#, I love C and he loves C#..and were talking C is ...blah blah...C# is Blah Blah ...etc and then we decided to write a program that...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.