- 1

Which language is better c++ or java?

4th Nov 2016, 8:59 AM
arghya paul
arghya paul - avatar
14 odpowiedzi
+ 4
Alright, most people forget in what language many of the JVMs and operating systems are written. I agree every day stuff is not written in C/C++ (too expensive). Important software is (indirect quote of Bjarne Stroustrup, the creator of C++). If you need performance, and there are quite some domains that need performance, you don't go interpreter or dynamically typed languages as they do not and in part cannot perform at the same level as highly optimized, compiled languages. Thus, C++ shines in applications as games, robotics or real-time trading. Even assembler is still in use today. You would be surprised how much is done in assembler in aircraft control systems... So please open your mind to more applications than just the Web. Computing is so pervasive and has such a wide range of applications that other languages have their domain in which they perform best.
4th Nov 2016, 11:00 AM
Stefan
Stefan - avatar
+ 3
it depends what you want to do, and what you know to make with them.
4th Nov 2016, 10:12 AM
Julio Cezar
Julio Cezar - avatar
+ 2
c++
5th Nov 2016, 5:00 AM
sejal
0
it depends bro...mostly Java s a bttr version of c++....
4th Nov 2016, 9:06 AM
Ganesh
Ganesh - avatar
0
@Ganesh: So I assume, you are more acquainted with Java? If so, please be aware that this often leads to a bias. Also, C++03 that is taught here @ SoloLearn C++ cannot be compared to Java that is more modern than J2SE 1.4 from 2002. Just keep that in mind when you assess.
4th Nov 2016, 10:28 AM
Stefan
Stefan - avatar
0
Java is much better and contains the biggest developer community and majority of technology will consist if Java code e.g. Androids, ATMs, Linux, Solaris OS... So learn Java will allow you to use it many sectors in the technology industries
4th Nov 2016, 10:29 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
It depends on which operating system you intend to run the program on. If you want to run your program exclusively on Windows then c++ would be better as it was written with the Windows operating system in mind. C++ programs are a pain to get working on Linux and Mac OS X. Java is used when the program you write needs to be run on all kinds of operating systems. For example if you're writing a sever side program for a Windows server you would use c++ because c++ is faster on Windows and there's no need for support on other operating systems. If you're writing a video game you would use java so players on Windows, Mac and Linux can play it instead of just players on windows
4th Nov 2016, 10:29 AM
Matt Young
Matt Young - avatar
0
Basically java is mostly WORA (write once run anywhere) as its JVM turn bytecode in machine code which is the reason why its slow but java is really good language for cross platform.
4th Nov 2016, 10:34 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
it's very clear c++ is better!!
4th Nov 2016, 2:29 PM
aaya ayaa
aaya ayaa - avatar
0
@Matt: I'm sorry, but that's wrong. There are great (actually better than Visual Studio) C++ compilers and build systems on Linux and Mac OS. If there are problems making code run on other platforms than Windows, most likely the code contains Windows-specific parts and is therefore not standard conformant.
5th Nov 2016, 7:09 AM
Stefan
Stefan - avatar
0
Java is probably best, as majority of technological device are starting to consist of Java code
5th Nov 2016, 9:05 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
0
c++ is better because it doesn't use dependencies to run and its much faster. java depends on jvm. if you dont have java installed on your pc, java programs will never run. java has its advantages over c++ too. where its wite once and run anywhere. prepare to say good bye to java if oracle.com no longer works.
10th Nov 2016, 7:14 PM
Franky BrainBox
Franky BrainBox - avatar
0
c++ is better
19th Nov 2016, 8:37 AM
pankaj Kumar
0
c++ better than Java...👍👍
30th Jan 2017, 6:41 PM
Mr Grey
Mr Grey - avatar