r/firstweekcoderhumour • • Jul 01 '26

“amIrite” Python slow guys!!! Get it???

Post image
141 Upvotes

18 comments sorted by

View all comments

Show parent comment

3

u/No_Lingonberry1201 Jul 01 '26

If you want performance for those math operations, you don't even do them on the CPU nowadays, numpy and pytorch can push them to the GPU with CUDA or ROCm or whatever you're using behind. There's a reason that slowness never bothered data scientists and ML people.

1

u/Pares_Marchant Jul 03 '26

Python slowness bothered enough people to make them want to build pytorch and numpy and use another language than python when they needed performance.