What an Operating System Does

What an Operating System Actually Is

An operating system is the software layer sitting between raw computer hardware and the applications people actually use - it manages every hardware resource (CPU, memory, storage, devices) and provides a consistent, predictable way for programs to use them, without each application needing to control the hardware directly itself.

Four Core Jobs an OS Performs

Applications (browser, editor, games...)
        |
[ Operating System ]  <-- manages everything below
        |
Hardware (CPU, memory, disk, devices)
JobWhat it means
Process managementDeciding which program runs on the CPU, and when
Memory managementAllocating and protecting each program's own memory space
File/storage managementOrganizing data on disk into files and directories
Device managementControlling input/output hardware like keyboards, disks and network cards

Why This Abstraction Layer Is So Valuable

Without an OS, every application would need its own code to directly control the CPU, memory hardware, and every possible disk or device - an enormous, error-prone, and completely non-portable burden. The OS handles this complexity once, so applications can simply ask for what they need through a consistent interface.

Fair, Safe Sharing of Limited Resources

A modern computer runs many programs "simultaneously" despite typically having far fewer CPU cores than running programs. The OS is responsible for fairly sharing this limited resource among them, and for making sure one program cannot interfere with or crash another - both core themes covered in depth throughout the rest of this project.

Why Understanding This Comes First

Every other topic in this section - process scheduling, memory management, file systems, synchronization - is really just a deeper look at how the operating system actually accomplishes these four core jobs listed above.

Written by Lorens Mishra

Software Engineer Notes Management System Administrator

Discussion

0 comments
Sign in to join the discussion.

No comments yet. Be the first to say something.