Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Possible Duplicate: Is there any reason to use C++ instead of C, Perl, Python, e

ID: 652480 • Letter: P

Question

Possible Duplicate:
Is there any reason to use C++ instead of C, Perl, Python, etc.?
When to use C over C++, and C++ over C?

I am going to enter university next fall in computer sciences, but have been programming already for a few years. I am currently doing web application development. I use Python and Java mainly.

I also know C++, but never really pacticed it because everytime I think of a project, there seems to be a language that is better suited for the job than C++. For example, Java seems to give the same result as C++, but in a more productive way (even performance-wise, Java is not far behind C++). Not to mention that the Java library is much greater than the C++ one. This makes me wonder where, in the world of web development, could I use C++ and get an advantage that other languages won't give me? I currently believe that it would be as an add-on to a language like Java or Python.

Explanation / Answer

Actually the main Java VM implementation (HotSpot) is written in C++. This language is still very used mainly for performance and memory issue I think, and because there are still a lot of C/C++ developers. You can find here some application made in C++.

C++ can use C method that are low level, it can be usefull for some application. I don't know if you can write easily a driver in Java for example.

It is also used for creating GUI or games with Qt and SDL.

So C++ is still a good language that can't be totally replaced with Python or Java.