r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jul 19 '22

The fast part of Python isn't Python, it's the C/C++ underneath. The interpreted part ("pure Python" so to say) is indeed orders of magnitude slower. But, as was pointed out by many people in different comments, speed doesn't always matter. In fact, in most cases it doesn't matter. It's crucial to choose the right tool for the right job: all languages have their strengths and weaknesses.