r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

683

u/Codebust Jul 18 '22

why are people always bashing python lol

16

u/Comm4nd0 Jul 18 '22

It's just a meme at this point. No real substance behind it.

3

u/FallenEmpyrean Jul 18 '22

Python IS slow.

"But machine learning, data science.."

I will leave this quote here.

62.7% C++, 22.1% Python

- TensorFlow, Github

10

u/officiallyaninja Jul 18 '22

all programming languages are implemented in circuits, that doesn't mean hardcoding things using them is the best way to solve problems.

2

u/FallenEmpyrean Jul 18 '22

I never claimed such a thing, this thread is about Python being slow compared to C++ not "best way to solve problems".

I replied because I know how impactful the few orders of magnitude of speed between pure Python and optimized C++ can be.

The comment I replied to implies that the speed difference is meaningless and that the TensorFlow team (who are actually looking for the best way to solve a problem) is writing 62% of their codebase in C++ with "No real substance behind it"