this post was submitted on 19 Aug 2025
730 points (98.5% liked)

Programmer Humor

25844 readers
2699 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] billwashere@lemmy.world 5 points 16 hours ago (2 children)

I’m an old comp sci grad. There was a concept we learned in my operating systems class called a context switch.

So basically, a context switch is when an operating system pauses one running process or thread, saves its state, and loads the saved state of another so the CPU can execute it. This makes multitasking possible by letting multiple processes share a single CPU while each later resumes exactly where it left off.

I would kill for this feature in real life.

[–] WhyJiffie@sh.itjust.works 2 points 11 hours ago

the way I think of it is that we do it all the time but its much, much more costly for us humans than for computers