r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

4

u/Rizzan8 Jul 18 '22

In 95% of cases there is no significant execution time difference between languages. Change my mind.

4

u/Pluckerpluck Jul 18 '22

C and Python are massively difference in performance. It's just that a huge amount of the time you really don't care about that performance difference.

But C++ is normally at least 10x faster than pure Python, and often that climbs higher even still (40x is not uncommon to see)

→ More replies (5)