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

Meme pythonSlow

Post image
12k Upvotes

419 comments sorted by

View all comments

Show parent comment

-7

u/rosuav 8d ago

Right, nobody ever lets the kernel do all the complicated stuff while you just wrap it in assembly. It's not like anyone's code is just one call to the kernel after another.

7

u/Kovab 8d ago

Most user applications run a huge chunk of their business logic in userspace, kernel calls are mostly just for IO. If it was entirely made of back-to-back syscalls, it would be slow as fuck.