New course! Every coder should learn Generative AI!
Try a free lesson+ 6
C++ vs Java vs Python who wins? šŖšŖ
I would Love to hear your thoughts šš
9 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š²š±š°š¹š°š
+ 15
Although the thread itself is a typical language vs language post, the answer provided is concise, simple and beneficial to other learners.
+ 13
i think cpp
+ 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
+ 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)šš
+ 2
In the same way u did urs @satyendra š
+ 2
Akash great explanation.
+ 1
š
+ 1
Thanks @HatsyRei