Skip to content

References · Mark I · Box of Scraps#

Systems programming and numerics: the memory hierarchy, floating point, integrators, allocators and Unix processes.

10 works · difficulty: ★☆☆ accessible · ★★☆ technical · ★★★ research-grade
Read with the three-pass method. Every link is a Google Scholar search for the exact title. Master index →

Start here#

★☆☆ Computer Systems: A Programmer's Perspective (3rd ed.)#

Bryant & O'Hallaron · 2015 · Pearson · book · Scholar ↗

  • Why: The spine of Mark I: data, caches, processes, virtual memory and malloc, all from the programmer's side.
  • Read: Ch. 6, 8, 9 and 10.

★★☆ What Every Programmer Should Know About Memory#

Ulrich Drepper · 2007 · Red Hat technical report · paper · Scholar ↗

  • Why: Everything about caches, TLBs and NUMA that a performance engineer needs.
  • Read: §3 (CPU caches) and §6 (what programmers can do).

★★☆ What every computer scientist should know about floating-point arithmetic#

David Goldberg · 1991 · ACM Computing Surveys · paper · Scholar ↗

  • Why: The classic on IEEE 754, rounding and cancellation. Read it before writing LU.
  • Read: §1–2; skim the proofs.

Landmarks#

★☆☆ The UNIX time-sharing system#

Ritchie & Thompson · 1974 · Communications of the ACM · paper · Scholar ↗

  • Why: The paper that introduced Unix: processes, files, pipes and the shell, in 11 pages.
  • Read: All of it.

★★★ The Art of Computer Programming, Vol. 1: Fundamental Algorithms (3rd ed.)#

Donald Knuth · 1997 · Addison-Wesley · book · Scholar ↗

  • Why: Boundary tags and the first-fit/best-fit analysis that every allocator still uses.
  • Read: §2.5 (dynamic storage allocation).

★★☆ Computer "experiments" on classical fluids. I. Thermodynamical properties of Lennard-Jones molecules#

Loup Verlet · 1967 · Physical Review · paper · Scholar ↗

  • Why: The integrator you implement in 02-sim, introduced for molecular dynamics.
  • Read: The section on the integration scheme.

Go deeper#

★★★ Anatomy of high-performance matrix multiplication#

Goto & van de Geijn · 2008 · ACM Transactions on Mathematical Software · paper · Scholar ↗

  • Why: How BLAS actually reaches peak: packing, register blocking and the cache hierarchy.
  • Read: All of it, after make bench.

★★☆ Dynamic storage allocation: A survey and critical review#

Wilson, Johnstone, Neely & Boles · 1995 · International Workshop on Memory Management · paper · Scholar ↗

  • Why: The allocator survey: policies, fragmentation, and why intuition is often wrong.
  • Read: §1–3.

★★★ Geometric numerical integration illustrated by the Störmer–Verlet method#

Hairer, Lubich & Wanner · 2003 · Acta Numerica · paper · Scholar ↗

  • Why: Why symplectic integrators conserve energy: the backward error analysis behind manual 03.
  • Read: §1–5.

★★☆ A fork() in the road#

Baumann, Appavoo, Krieger & Roscoe · 2019 · HotOS · paper · Scholar ↗

  • Why: A modern critique of fork(). Read it after you've built a shell around it.
  • Read: All of it.