The Runtime Theory
Processes and Address SpacesPlanned

Video lesson: A Process Is More Than a Program File

Video not available yet
#processes-and-address-spaces#foundations

Lesson promise

By the end, the learner should be able to explain the core model for a process is more than a program file, apply it to a concrete input, and identify when its usual shortcut or guarantee stops applying. This is a recording brief; publish it as a playable lesson after the narration and visual sequence have been produced and reviewed.

Narration draft

A program file is a persistent description of code and data; a process is a running instance with execution state and an address space. The operating system gives a process a virtual view of memory, while hardware and the kernel translate that view to physical resources under protection rules.

At launch, the loader maps executable code and data, creates a stack, prepares arguments and environment, and arranges runtime initialization. A function call changes registers and stack state inside the process. A system call crosses into privileged kernel code to request an operation the process cannot perform directly.

Virtual addresses are not physical addresses and may not map to RAM until accessed. A process can have multiple threads sharing the same address space, so process isolation does not remove races within that process. Resource limits and file descriptors are part of execution context too.

Visual sequence

  1. Put the input and assumptions on screen. Ask the learner to predict the next state before revealing it.
  2. Animate the representation and show the operation one transition at a time.
  3. Pause at the boundary case in the companion article and compare the result with the invariant.
  4. End with the exercise prompt: Explain how two processes can both use the same virtual address for different private data. What mechanism prevents one from freely reading the other’s memory?

Companion material

Use the article, trace, and interactive concept flow as the learner’s written and visual references. The video remains planned until an actual playable media URL and reviewed transcript are available.

Related articles

New lessons by email

Get new articles and notes on the systems behind everyday software.

One technical dispatch per week. No noise.

Not started

Sign in to save your learning progress.

Sign in to save