I want to say in advance: Yes, when you write the same code, C++ is way more performant than most of the modern languages. And Python would be somewhere at the end of the list.

But when you implement real projects, nobody cares about your code or language, the result matters, and the faster you write your code the better.

Say, you need to create a new website. And there are two options: C++ and Python. In the end, the C++ project will be 10 times faster. So, your HTML pages will be produced in 0.01 sec instead of 0.1 sec. But who cares? In C++ you will be writing the same project for several months vs. 1 week in Python.

#programming #c #python #performance #numpy

Python vs C++: Performance and Matrix Multiplication
3.40 GEEK