Project - Exploring cache behavior through interaction

An interactive Next.js and TypeScript demo for comparing direct-mapped, fully-associative, and set-associative caches.

Project
Cache Simulator
Year
Role
Interactive systems demo, frontend implementation, educational UI

Overview

Cache behavior is easier to understand when the state is visible. This project lets users explore direct-mapped, fully-associative, and set-associative caches by adjusting inputs and observing how addresses land in cache lines or sets.

The interface is designed as a learning tool: it keeps the cache configuration, memory references, and resulting state close together so users can connect each step with the outcome.

What mattered

  • Direct-mapped caches
  • Fully-associative caches
  • Set-associative caches
  • Interactive explanation

The challenge was to make the simulator detailed enough to be useful without turning it into a wall of controls. The UI keeps the cache mode explicit and lets the current state do most of the teaching.

Result

Cache mapping modes
3
Interactive learning surface
1
Browser-based demo
100%
Static diagrams required
0

More projects

Planning training blocks with a TypeScript web app

A TypeScript semester project for planning mesocycle workout programs, built as the CM336 Semester Project.

Read more

Tracking hourly earnings in real time

A Flutter iOS app that turns work sessions into a live earnings counter, with start/stop timing and session history.

Read more

Have a workflow or integration problem worth talking through?

I’m interested in Make automations, CRM data flows, practical application work, and teams that care about reliable systems.