Cache Miss Theater
Watch a C loop nest's exact address trace run through a configurable cache.
Topic · Computing
9 apps built and live, and 39 ideas for what could come next.
Watch a C loop nest's exact address trace run through a configurable cache.
Twelve kernel puzzles on a simulated GPU: warps, divergence, coalescing, bank conflicts.
TAI, UTC, GPS, Unix and UT1 on one timeline, and what 23:59:60 does to your code.
An 8-bit SAP-1 computer where the instructor breaks a chip and students find the fault.
Watch deterministic lockstep and rollback netcode work, and fail.
Every process, pipe and possible output of a fork/wait/pipe C snippet, deadlocks included.
A playable model of the Apollo Guidance Computer's executive during the lunar descent.
Replay a malloc/free trace on a word-accurate heap under different allocator policies.
Watch a SELECT execute step by step, each stage narrated.
The newest 24 of 39, built or not. Filter these ideas by who they are for, kind and size.
Tells you how to keep each office scanner sending email after Microsoft's sign-in change, model by model, in plain steps.
A chip-and-bus level simulator of a tiny 8-bit computer for architecture courses where instructors break chips, pins, and bus lines, and students diagnose the fault from symptoms like a hardware repair tech.
An interactive timekeeping lab for systems and databases courses that plots UTC, TAI, GPS time, and UT1 together, then runs real leap-second and continuous-UTC scenarios against JavaScript, Python, and Postgres time code so students see exactly where each one breaks.
For Fortran's 70th birthday, students build a compiler for a FORTRAN I subset that targets a simulated IBM 704 with only three index registers, and reproduce the original team's bet that compiled code could rival hand-written assembly.
A staged networking project where students build a paired, encrypted file-sharing tunnel that discovers its public address, punches through NATs, and falls back to a relay, then measure how often each path actually works.
A portability lab for systems courses that compiles each student's C code under several compilers, standards, and architectures, then explains every place where the program relied on undefined, unspecified, or implementation-defined behavior.
A staged compilers or PL course project where students implement ownership, moves, and borrow checking for a tiny Rust-like language, ending with a fuzzing hunt for unsound programs their own checker wrongly accepts.
A staged networking assignment in which students build a GetRight-style download manager with HTTP range requests, parallel segments, validators and checksums, graded against a chaos server that drops connections, rotates URLs and silently changes files mid-download.
A browser lab that simulates a 1970s telephone trunk with DTMF, MF and 2600 Hz supervision tones, so students can seize a trunk with a blue box and then see that the same flaw (control mixed with data) is behind SQL injection and prompt injection.
Paste an x86 SIMD mnemonic such as vfmadd231pd, vpunpckhqdq or vcvttps2dq and see it split into its parts, with an animated lane diagram showing exactly which elements move, multiply, round or saturate.
A staged compilers assignment in which students translate CHIP-8 (then a small 6502 subset) ROMs ahead of time into WebAssembly, using their own interpreter as the oracle that proves every recompiled program behaves identically.
A browser lab for teaching deterministic lockstep and rollback netcode: two or more simulated RTS clients run side by side over a configurable fake network, and students watch exactly when and why their states desync.
A staged course project where students write an RV32IMA emulator in TypeScript or C, add a UART, timer and traps, and finish by booting a provided mini-kernel and shell in the browser.
Pick or type a small loop nest over arrays, configure a cache, and watch every load land as a hit, compulsory, capacity or conflict miss on an animated set-associative cache, with simulator-verified 'predict the miss rate' questions.
Paste a short fork/exec/wait/printf snippet and see every process it creates, every possible output interleaving, and which outputs are impossible, with auto-generated 'how many times is hello printed?' quizzes.
A playable simulation of the Apollo Guidance Computer's priority Executive during the lunar landing: you fly the descent while a faulty radar switch steals cycles, and you watch Margaret Hamilton's restart design shed low-priority jobs so landing guidance survives.
Paste or generate a malloc/free trace and watch a simulated heap allocate, split, coalesce and fragment under first-fit, best-fit, next-fit and segregated free lists, with auto-generated quiz questions for systems courses.
Student teams design and implement a tiny PICO-8-style fantasy console: an instruction set, a VM with memory-mapped graphics and sound, an assembler, a sprite editor, and a cartridge format, then ship a playable game on it.
A networking assignment where students build an authoritative-server multiplayer tank game on a real city map, then add client prediction, server reconciliation, interpolation, and lag compensation while a built-in network simulator injects latency and packet loss.
A multi-week systems-plus-web assignment where students build a PTY daemon and a canvas UI that arranges live shell sessions as connected nodes, with persistence and reattach like tmux.
Students implement a minimal multi-agent orchestration runtime from scratch - task queue, tool registry, message passing, failure handling - to see what frameworks like AutoGen or Google's new ax runtime actually do under the hood.
Students design and implement a custom agent-to-agent communication protocol, build two cooperating AI agents that use it to solve a shared problem, then test interoperability with a stranger's implementation on Interop Day.
Paste vintage game or system code in 68000 assembly, BASIC, Pascal, or early C and get a layered annotation: plain-English section summary, modern pseudocode, and a one-screen modern equivalent in Python or JavaScript.
Students build a fully browser-native OS process scheduler simulation using Web Workers and SharedArrayBuffer, then add a Claude-powered inspector that explains scheduling decisions in plain English.