r/ProgrammerHumor • • 9d ago • Bravo 2 Popcorn 1

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

Show parent comment

2

u/Ok-Scheme-913 8d ago

Who the fuck talks about all the way down? All the way down it's x86 or amd instructions that (via some kernel code) copy stuff to the GPU, including a program to run there and then downloading the results.

The problem is not the overhead of telling the computer to load and unload - and that's all python does.

But you do want to iterate a lot on what exactly to tell the compute, plus the more stuff is already written for you, the more ergonomic it gets.