Topic

Computer Science

3 articles

Computer Science

Building a double-entry ledger in 200 lines

Every system that tracks value eventually needs a ledger, and most start with a balance column and a sense of optimism. The fix is double-entry bookkeeping: five hundred years old, and small enough to build in an afternoon.

· 8 min read

Computer Science

The architecture of a chess engine

A modern chess engine can evaluate millions of positions per second, yet most of its strength comes from surprisingly simple ideas: search, pruning, caching, and a relentless obsession with efficiency.

· 12 min read

Computer Science

Building a trading exchange in 200 lines

Modern financial exchanges move billions of dollars a day, yet the core matching engine comes down to a handful of data structures and a few unglamorous rules.

· 9 min read

Jump to

32 articles