Operating systems notes

From Source Code to a Running Process

The journey a program takes from a text file you wrote to a living process the CPU is executing. Every section is a drawn page beside a clear written explanation, about 18 minutes in all.

  • Chapter 7 of 37
  • About 18 minutes
  • 8 sections

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

The first drawn page of From Source Code to a Running Process: The gap between a .c file and a live process
The chapter's first page: The gap between a .c file and a live process

In this chapter

  • The gap between a .c file and a live process
  • The four build stages
  • Linking: static vs dynamic
  • The executable format (ELF)
  • Loading: from file to memory
  • The process address space in memory
  • Static vs dynamic, and why it matters
  • Recap: the full journey & what a process now is

Next chapters

Read the whole chapter

Sign in and the chapter opens with every drawn page, and all 38 operating systems chapters beside it.

DSA comes with the all labs plan and every ChaiCode batch.