r/ProgrammerHumor • • 3d ago

Meme pythonSlow

Post image
10k Upvotes

403 comments sorted by

View all comments

Show parent comment

5

u/FabioTheFox 2d ago

That's not how the kernel works? Most of an application lives and runs in userspace while kernel calls are only done for stuff like IO or memory allocation

If you needed a syscall to the kernel for EVERY operation no language would be fast, tell me you understand nothing about operating systems without telling me

-2

u/rosuav 2d ago

Technically true. But look at how much of your work still fits into one of the two categories I specified. "All algorithmic stuff" from the kernel's perspective is just wasting CPU cycles.

I guess I made the mistake of making a joke on r/ProgrammerHumor .