r/ProgrammerHumor • • 13d ago

Meme pythonSlow

Post image
12k Upvotes

415 comments sorted by

View all comments

Show parent comment

-7

u/rosuav 13d 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 13d 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.