Jeffrey M. Barber

Tombstone

ZTimeLine

Oct 2001 โ€“ Jan 2002 ยท age 19โ€“20

What it was

A small C++ library, about five hundred lines, that modelled a schedule in three levels: a timeline held spans, each span was keyed by an owner and an action, and each span held slices with a start, a length and a weight. The whole public surface was one class and integers. The span and slice classes never left the implementation, and every call took and returned indices, so no object or pointer ever crossed the boundary. Spans stayed sorted by owner and action and were found with a hand-written galloping search; slices stayed sorted by start. Collision was offered as a question rather than a rule: ask what a moved slice would hit, skipping itself, and decide for yourself. Written in one late-night session, it built clean, and three months later was given away as free sample code under a license.

Wins, for the age

What it taught

Genealogy

Ancestors: Z Time Alloc: the editor whose needs shaped the collision query and the handle API. Descendants: Cauldron v1: owners, actions and weighted intervals, grown into composable animation channels.

Epitaph

Here lies ZTimeLine, seventy-one lines of header that hid four hundred of implementation, kept its doubts in comments, and was given away for free.