Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is Visual C++ noticably faster than VB. ie. A database application.

Status
Not open for further replies.

chriscorran

Programmer
Oct 20, 2002
15
GB
Hi,

What I really want to know is if the extra speed of VC++ is worth the effort in learning it, when compared to the quickness of devlopment and basically the easiness of VB. (excuse my bad spelling!!!)

Is VC++ noticably faster? For example a database application. Both using ADO but one written in VB and one written in VC++. Would the application run faster if written in VC++?

There certainly is alot more code to be written in VC++ and in comparison to VB its quite cryptic too.

Is the extra effort justifiable in terms of speed?

Cheers in advance.
 
1. C++ is much more cryptic than VB but is also more flexible
2. I suspect that the limit on speed will be the data base rather than the code
3. well written VB will be quicker than badly written C++

I suspect you will struggle to learn VC++ and implement a specific and complex problem at the same time and interfacing with a database in C++ will be fairly tricky for a beginner

Hope this helps
Mark

Go not to cats for advice for they will just walk over the keyboard
 
Speaking as a former VB programmer, I was in the same boat. VC++ is very overwhelming when coming from VB. I agree 100% that the design and implimentation of things in VB is 10 times easier than VC++ but as mentioned above, you get more flexability in C++. In my opinion, unless you are writing a code intensive VB app, you wont really notice a time difference between VC & VB. When I was worried about time, I wrote C++ dlls and exported the necessary functions I wanted, but this got to be a pain due to different types. Yes it is possible but the extra time involved to save a few microseconds didnt seem worth it. I have given up on VB now and am strictly C++, however, I still help my wife out from time to time with her VB questions :)

Matt
 
sounds like u should stick with the >>easiness of VB<<

>> C++ is much more cryptic than VB

interesting... do u suppose VB is more cryptic than other languages, like english?

for me i find VB more cryptic... it's not so much the language as i don't ever use it so i don't know it well. now is C++ more complex than VB? sure it is, it has more features (translate complex) that's why it's harder to learn. is notepad easier to learn than MS Word? sure but they are not comparable.

also very important:
>> 3. well written VB will be quicker than badly written C++

i will not agree or disagree with the comparison frankly i don't care. what is important in Mark's statement is the concept of designing thoughtfull code rather than the spaghetti, copy-paste variety that is all to prevelent in our profession.

well that's my 2 cents. good luck to all regardless of ur language of choice. -There are only 10 types of people in the world, those who understand binary and those who don't-

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top