seegongsik
Operating system Β· how a computer keeps house
The computer's housekeeper
Many apps share a single part. The housekeeper that arranges who uses what, and when, is the operating system.
8 / 8
01What is an operating system?
The housekeeper between apps and hardware that shares the parts around.
02What happens when a program runs?
A program is a file at rest; a process is it running, alive. Each gets its own memory.
03One pretending to be many
Just one worker, but switching so fast that many seem to run at once.
04Stopping and picking back up
Saving and restoring state when work switches, and what it costs
05Deciding who goes first
Setting the order of waiting tasks, and the trade between speed and fairness
06Many strands in one task
Splitting a task into strands sharing one space, its upside and its care
07Many kitchens, truly at once
Handling work truly at once with several cores, its speed and its limit
08When two fix the same thing at once
The accident from fixing the same thing at once, and preventing it one at a time