+ 1

Applications of python

(1)what are the applications of python language in real world? (2)what are the pros and cons of this language? (3)what makes it easy to learn for beginers? (4)"A program written in python may have less performance speed comparing with c++"-is it true? if then why?

2nd May 2018, 3:54 AM
R/-\k!\n
R/-\k!\n - avatar
2 Respuestas
+ 3
1. Machine learning, data analytics and any other real world application since python is turing complete. 2. For me it is that python is interpreted. I always used compiled languages. The claim is that interpreted is faster in development, compiled faster at runtime. Plus python is less typesafe than Java or C++. In the end it wouldn't matter to much which language you choose. 3. Fast development times, good resources and knowledgebase on the internet/decent community. 4. That's because of the performancecontrol you have in C++. You have less control about that in Python. And what i just mentioned: C++ is compiled, Python interpreted. This means that C++ code is checked for errors before runtime and Python at runtime. This costs more work for your PC at runtime so your application will have less performance. How big are the differences? Think in terms of 60-80 milleseconds.
2nd May 2018, 6:17 AM
***
*** - avatar
+ 1
Boem Shakalaka Thanks a lot ^_^
2nd May 2018, 6:43 AM
R/-\k!\n
R/-\k!\n - avatar