Early Code
1 language| Type | Interactive demo |
|---|---|
| Origin | UC San Diego CSE 12, CSE 15L, and CSE 100 |
| Developer | David |
| Written in | C++, Java, JUnit, Python, TypeScript |
| Tests | Five live widgets fixture-tested against Python references |
| Built with | Coursework from 2021 to 2024, presented as a timeline of running programs |
| Hosted on | David-Internet/demos/earlycode |
| Website | https://david-internet.vercel.app/demos/earlycode |
Early Code is an interactive timeline of David's earliest programs from 2021 to 2024, each with a live widget.[1] It covers a C++ final, CSE 12 data structures, CSE 15L URL handlers, a planted JUnit bug, and a from-scratch string matcher.
The C++ final re-runs over its original numbers files in a fake terminal, preserving the original program's quirks. MyArrayList animates inserts, shifts, and capacity doubling. A mini browser replays chat and doc-search handlers request by request.
Overview
Five live widgets are TypeScript ports, labeled as such. Course-provided server code is credited as such. The page ends at CardClassifier.ipynb, a PyTorch tutorial referenced but not re-run because its dataset is not archived.
Aho-Corasick
The page's main widget is a from-scratch implementation: the Aho-Corasick automaton grows its trie and failure links live and matches Fast & Furious titles from a CSE 100 notebook, with the same 106 nodes the pyahocorasick library reported.
Development
Five live widgets fixture-tested against Python references. The JUnit lab's planted merge bug fails by timeout and then applies a one-line fix on the page.
See also
References
- ^
content/earlycode/README.md, David's Internet.
- Interactive demos
- Programming education
- 2026 establishments