LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C++ Vs Other Languages (https://www.linuxquestions.org/questions/programming-9/c-vs-other-languages-263050/)

mrpc_cambodia 12-05-2004 09:36 PM

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,

melinda_sayang 12-05-2004 11:51 PM

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.

shadow_wwp 12-11-2004 11:05 AM

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 :D

Timer 12-12-2004 10:49 AM

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.

mrcheeks 12-12-2004 11:14 AM

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...


All times are GMT -5. The time now is 04:51 PM.