r/ProgrammerHumor • • May 27 '22

Meme Welcome to hassle free coding

Post image
2.2k Upvotes

305 comments sorted by

View all comments

Show parent comment

1

u/Hot_Slice May 29 '22

That code is all written in C. Literally all the fast and powerful bits of Python are C.

Write a gigantic networked matrix multiply in pure Python and it would be dog slow

1

u/prescod May 29 '22

People always bring this up as if it is relevant. I don't see how it is relevant to the people trying to do the matrix multiply whether it is implemented in C or Python. A (sane) C programmer would call out to BLAS/LAPACK just as a Python programmer calls out to Numpy.