+ 1
Which of the programming languages is faster and more efficient when executing a command?
If possible an explanation on the subject will be good for those who are starting to program and want to ask questions.
4 Answers
+ 3
c++ is fastest programming language.
but what is your purpose?!?
for web development php and java script amd python
for machine learning and ai or data science: python
for desktop apps: c++ and c#
for system programming like hardware drivers: c and c++
for game development: c++
for android: java and kotlin
for ios: swift and objective c
now tell me which is fastest?!?!!!
+ 2
As Mohammad Gk said, it really depends on the subject of your application, or the feature you want to program. Html does not have the same purpose of css, or Javascript, or python.
As for speed, compiled languages are the faster ones. For instance, C is faster than python, which is an interpreted language. Of course, python gets much faster when we talk about C written libraries such as numpy.
Finally, as a personal recommendation, start learning programming with a low level programming language, like C. Then, go to Python because it's awesome ;)
+ 1
Look at this graph.
https://camo.githubusercontent.com/5299f59c6f2fadc605d5474393499b723c5f97f9/68747470733a2f2f7261772e6769746875622e636f6d2f6e696b6c61732d686565722f73706565642d636f6d70617269736f6e2f6d61737465722f2e6769746875622f706c6f745f76312e342e706e67
Careful: Measurement is needed time, not speed. ;)
And I think it's just one specific test.
I googled for 'programming languages speed comparison', in case you want to riff on that.
0
My opinion is that C/C++ is better for programming, learning C first logically is a good idea. I searched the internet and read about Android, linux and Windows operating systems, each of these systems was created using programming languages and all showed that C was included in the creation of these systems.
https://www.sololearn.com/post/185281/?ref=app
HonFu about the comment
"I searched Google for 'programming language speed comparison' if you want to discuss this."
Any discussion on various subjects I accept, many can be helped with these discussions, beginners in programming is an example.
Thank you for the comments folks.