+ 6

C++ vs Java vs Python who wins? ๐Ÿ’ช๐Ÿ’ช

I would Love to hear your thoughts ๐Ÿ‘‚๐Ÿ‘‚

11th Mar 2017, 8:00 AM
Akash Singh
Akash Singh - avatar
10 Answers
+ 26
Each will win on various aspects. Three of them have their own pros and cons. Speed of Execution ๐Ÿƒ ๐Ÿƒ ๐Ÿƒ Pythonโ€™s execution speed is slower compared to Java and C++. Being dynamic and interpreted language, Python execution is slower. In comparison between Java and C++, execution speed of C++ is faster than Java. Winner: C++ Memory usage ๐Ÿ’† ๐Ÿ’† ๐Ÿ’† In this case Java uses more memory compared to Python and C++. Python has decent memory consumption, C++ is more memory efficient. Winner: C++ Number of Lines โœ โœ โœ More number of lines in code is hard to maintain. Both C++ and Java source codes will be more number of lines. Python will reduce the lines even for complex algorithms. Winner: Python Easy to learn ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜ There is no doubt, Python is lot easier to learn as a beginner programming language. Core concepts of Java is easier to learn. C++ little hard to learn compared to Java and Python. Winner: Python Scalable ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Three languages are more scalable. Java applications are more scalable. Winner: Java Cross-Platform ๐Ÿ‘จโ€โคโ€๐Ÿ’‹โ€๐Ÿ‘จ ๐Ÿ’ ๐Ÿ’ C++ source code will be compiled to native code. So, executables of C++ is not platform independent. Now the days C++ compilers are more cross-platform. In the case of Java and Python, both are cross-platform, available for all major operating systems. Winner: Java and Python Mobile applications ๐Ÿ“ฑ๐Ÿ“ฑ๐Ÿ“ฑ Three are using for mobile applications, dominance of Android Java is mostly using for mobile applications development. Winner: Java Data science๐Ÿ–ฅ๐Ÿ–ฅ๐Ÿ–ฅ๐Ÿ–ฅ๐Ÿ’น๐Ÿ’น๐Ÿ’น In data science Python is mostly used language. Because Python is not verbose, even non-computer professionals can learn Python easily. Python has lot of scientific computing libraries. Winner: Python Job Opportunities๐Ÿ”ญ๐Ÿ“ก๐Ÿ”ฌ๐Ÿ“ฝ๐Ÿ“š๐Ÿ’ฐ Three languages have good job opportunities. Winner: Java, C++ and Python๐Ÿ’ฒ๐Ÿ’ฑ๐Ÿ’ฐ๐Ÿ’น๐Ÿ’ฐ๐Ÿ“‘
11th Mar 2017, 8:01 AM
Akash Singh
Akash Singh - avatar
+ 15
Although the thread itself is a typical language vs language post, the answer provided is concise, simple and beneficial to other learners.
11th Mar 2017, 4:11 PM
Hatsy Rei
Hatsy Rei - avatar
+ 13
i think cpp
11th Mar 2017, 12:03 PM
Mansi Dagla
Mansi Dagla - avatar
+ 12
as c is the advanced version of mother language and to learn any c is required as it is the base of every language and this other languages are also made in c
11th Mar 2017, 12:05 PM
Mansi Dagla
Mansi Dagla - avatar
+ 5
both Will win in each domain and it's not the easiness to be learned that Will judge that because programming,entirely is not easy for all . that'sโ€‹ to say each of the programming languages have their own speciality. whereas we got the possibility to match them together in some case(cause of their own utilities)๐Ÿ˜‡๐Ÿ™‰
11th Mar 2017, 9:14 PM
Guerson Dukens Junior JOSEPH
Guerson Dukens Junior JOSEPH - avatar
+ 2
In the same way u did urs @satyendra ๐Ÿ˜‚
11th Mar 2017, 5:33 PM
Akash Singh
Akash Singh - avatar
+ 2
Akash great explanation.
12th Mar 2017, 9:23 AM
Zubair Khan
Zubair Khan - avatar
+ 1
๐Ÿ˜€
11th Mar 2017, 12:48 PM
santosh kumar
santosh kumar - avatar
+ 1
Thanks @HatsyRei
11th Mar 2017, 5:58 PM
Akash Singh
Akash Singh - avatar