Why your computer feels like it is doing everything at once

Why your computer feels like it is doing everything at once
Image: Intellect (generated)

In short: A computer program is just a passive file on your disk, but a process is that program brought to life in memory. Through the magic of multitasking and rapid context switching, your operating system creates the illusion that dozens of tasks are running simultaneously, even when your processor is technically busy.

At its core, a process is an executing instance of a program. While a program is a static collection of instructions, a process is the dynamic entity that owns the resources needed to run those instructions. This includes the executable machine code, a region of virtual memory containing data and a call stack, security attributes like permissions, and the processor state stored in registers. The operating system tracks these active processes using data structures known as process control blocks.

The illusion of concurrency—where multiple programs appear to run at the same time—is managed by the operating system scheduler. On a single-core processor, only one instruction can execute at any given moment. To prevent the processor from sitting idle while waiting for slow operations like user input or file access, the system performs a context switch. It pauses one process, saves its state, and loads another. This rapid swapping, often called time-sharing, happens so quickly that the user perceives it as parallel execution.

Modern operating systems go to great lengths to ensure reliability by isolating processes. They typically prevent direct communication between independent programs, instead providing strictly mediated inter-process communication (IPC) channels. This separation protects the system from failures like deadlocks or thrashing. When processes do need to interact, they must use these controlled mechanisms or share specific parts of their address space, ensuring that even complex, multi-tasking environments remain stable and predictable for the user.

The concept of the process evolved alongside hardware. By the early 1960s, as computers became faster but remained expensive, multiprogramming emerged to keep processors busy. Over time, this evolved into the sophisticated multitasking, multiprocessing, and multithreading models we use today. Whether a process is waiting for resources, running on a core, or blocked, the operating system acts as the ultimate coordinator, balancing the competing demands of every application to maintain the seamless experience of modern computing.

Opens the Intellect+ feed with this card first. Swipe up for the next one.

Sources

To cite this card, link to https://intellectplus.co.uk/app/technology-process-computing.

How we source, check and correct cards: Editorial standards.

General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.

Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?

Related

Finding something worth knowing…