I · The linear primitives
Array
A row of equal-sized boxes.
The story
The first thing FORTRAN gave the world. Backus's team needed a way to address a "table" mathematically, by index, in constant time. Every modern memory system since has been shaped by that one decision: contiguous, fixed-stride, addressable by arithmetic.
How it works
Allocate n × sizeof(T) bytes. Element i lives at base + i × sizeof(T). The CPU can prefetch the next cache line because access is predictable.
Where it lives
Every language. Every database row. Every image, audio buffer, GPU texture, network packet.
The key insight
Cache-friendliness beats algorithmic complexity for n < ~10,000. Linear scan of an array often beats a binary search of a tree because the former never misses cache.