Skip to content

Week 15 · Watch First

Eleven short videos: four for after the Nov 24 lecture and before Tuesday's session (Dec 1), three for Thursday's (Dec 3), and four for Friday's (Dec 4), two of them for the extra credit: about 73 minutes in all. None shows solution code: no Rust, assembly or pseudocode for anything you write, only the machine's state, the given code, and what each line of test output means. Their numbers are examples, or the given test's own, not the lectures'.

The days moved on Nov 29: Tuesday, Dec 1 is now an exercise day, and the Week 15 page fork, wait, and the User Shell is the reading for Thursday and Friday. All eleven videos were re-recorded for the new days.

Watch in this order Explainer it walks through Prepares
1. Strings Above, Pointers Below (6:18) Strings Above, Pointers Below 49k_exec · Tue Dec 1
2. Four Registers Start It (7:00) Four Registers Start It 49k_exec · Tue Dec 1
3. A Slot in Your Table (6:25) A Slot in Your Table 50k_file_descriptors · Tue Dec 1
4. The Offset Remembers (6:38) The Offset Remembers 50k_file_descriptors · Tue Dec 1
5. One Fork, Two Paths (6:36) One Fork, Two Paths 51k_fork_wait · Thu Dec 3
6. Exit, Then Wait (6:32) Exit, Then Wait 51k_fork_wait · Thu Dec 3
7. New Program, Same Process (6:53) New Program, Same Process 52k_userland · Thu Dec 3
8. Shipped Without an Edit (6:54) Shipped Without an Edit 53k_ship_your_commands · Fri Dec 4
9. From Keypress to Exit (6:48) From Keypress to Exit 53k_ship_your_commands (one command, end to end) · Fri Dec 4
10. Headers Say Where (6:26) Headers Say Where 54k_elf_loader (extra credit) · Fri Dec 4
11. The Timer Takes It Back (6:39) The Timer Takes It Back 60k_preemption (extra credit) · Fri Dec 4

Each video walks through one explainer page, and the pages are interactive: after a video, open its page and step through it yourself, case by case.

Nov 24 lecture Reading: fork, wait, and the User Shell Tuesday prep Thursday prep Friday prep