Idea · Oct 3, 2026
Before the Sun Burns Out
Pick an algorithm and an input size, and watch its running time land on a log-scale timeline of the far future, from 'before your coffee cools' to 'after the last star dies'.
What it would do
Inspired by a Show HN 'Timeline of the Far Future' page, this weekend project turns growth rates into a gut feeling. The user chooses an algorithm (or a raw complexity class such as n log n, n^3, 2^n, n!), an input size n, and a machine speed (a laptop, a GPU, the whole world's compute). The app computes the operation count with big-number arithmetic and places a marker on a zoomable logarithmic timeline annotated with real events: a blink, a lecture, a semester, a human lifetime, recorded history, the Sun becoming a red giant, the last stars burning out. A slider on n animates the marker so students see 2^n leave the solar system somewhere between n=60 and n=90 while n^2 barely moves. A 'race' mode places several algorithms on the same timeline, and a share link encodes the scenario so instructors can drop a specific comparison into lecture slides.
Key features
- Exact operation counts with BigInt and log-space math, so n! at n=200 still renders
- Zoomable log timeline annotated with about 40 everyday and cosmic reference events
- Machine presets from a 1 MHz 6502 to an estimate of all compute on Earth
- Race mode that drops several algorithms on the same timeline at once
- Animated n slider showing the moment each class crosses a human or cosmic boundary
- Shareable URL encoding of every scenario for lecture slides