LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 12-05-2004, 10:36 PM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
Talking C++ Vs Other Languages


Now i become confused. So i hope someone can help me clearify this.

I've always heard people saying about the strength of C++ compared to other languages. They said if one need to write a big project, then C++ is the best choice. for example, almost all the microsoft app are written using C++. They described C++ is the right choice because it has features like inheritance, polymorphism, overload,...

But now visual basic.NET also has these set of features.

So what are the key differences in term of runtime performance, project size, program stability,..?



Thanks,
 
Old 12-06-2004, 12:51 AM   #2
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
If I want to write a browser which need speed, I will choose c++. No doubt. If I want to write database driver application for lets say shops, I will choose Java or Python. If I want to write big web application, I will choose java, or asp.net or php. If I want to write kernel, I will choose C ( not c++ ).

C++ is powerful but takes longer time to produce application. I don't say other language are not powerful.
 
Old 12-11-2004, 12:05 PM   #3
shadow_wwp
LQ Newbie
 
Registered: Aug 2004
Location: China
Distribution: Turbo & LFS
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by melinda_sayang
If I want to write a browser which need speed, I will choose c++. No doubt. If I want to write database driver application for lets say shops, I will choose Java or Python. If I want to write big web application, I will choose java, or asp.net or php. If I want to write kernel, I will choose C ( not c++ ).

C++ is powerful but takes longer time to produce application. I don't say other language are not powerful.
me too
 
Old 12-12-2004, 11:49 AM   #4
Timer
LQ Newbie
 
Registered: Jun 2004
Location: Catalonia
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
I used VB. NET but changed to C++. The main reasons:
- More speed (vital for my project but not for most apps).
- Portability (.NET is for win32 only)
I'd use Java if I didn't need maximum speed.
 
Old 12-12-2004, 12:14 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
program stability = level of the programmer

program speed/performance = C++

project size = programming language with OO support

I use java for large projects. It is tough to get more speed(threads, choosing operators, choosing collections, etc...). I just don't use sun jdk and tomcat as application server.

The problem with c++ is maintaining code and the time to get the job done. I find it the most powerful but it involves more efforts than python, java, perl, etc...

Try choosing a language to develop gui and server code, so you won't have to learn another language for the server side. don't forget about portability, going to .Net is a no way out...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 03:19 AM
mandrake 9.2 languages uv1 Mandriva 0 08-21-2004 12:24 PM
Types of Languages ? indian Programming 2 08-17-2004 03:12 PM
Languages shayan_tabrizi Linux - Software 1 08-02-2004 04:14 PM
what languages do you use? TheLinuxDuck Programming 34 08-21-2003 06:07 AM


All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration