SignalBrief is a weekly bilingual brief: one or two picks each from products, business and tech, with one line on why each matters. This is issue #1. Subscribe at the bottom.

1. A 1999 optimizer that still compiles today

Porting a 1999 Cascades optimizer to modern C++

Why it matters: it proves a textbook implementation isn’t a museum piece. 19,787 lines, MFC-era, 17 .cpp files — it runs on a modern toolchain in a weekend, and then you can change it, break it and fix it. The fastest way to learn optimizers isn’t reading papers; it’s making a real one run on your machine.

2. 119 rules, really only three kinds

gporca’s rule system: how to read 119 rules

Why it matters: a rule library looks intimidating, but transformation, implementation and enforcement cover all of it. Read three rules and the rest is homogeneous boilerplate. That’s a general method for reading any unfamiliar codebase.

3. SQLite’s planner: choosing without statistics

SQLite query planner (official docs)

Why it matters: SQLite has no histograms — only index existence and simple cost rules — yet makes good-enough choices in most cases. Read it next to a real optimizer to see the floor of cost models, and why sophisticated statistics can be over-engineering.

4. CMU 15-721: a systematic map of execution engines

CMU 15-721 course materials

Why it matters: if you want to learn execution engines systematically instead of from scattered blog posts, this reading list is the cheapest entry point. Optimizer, execution and storage are all covered.

5. A counterintuitive conclusion: matching results don’t mean a correct plan

Six real traps in an optimizer

Why it matters: we hit cases where execution results were identical but the plan was semantically wrong (a sort placed after LIMIT). DuckDB’s normalization masked it. Which means “results match” can’t be your only acceptance criterion.


Subscribe to SignalBrief: weekly, exactly five items, bilingual. Free forever. Subscribers also get a typeset PDF of each issue.

Subscribe to SignalBrief

One email a week, five signals, cancel anytime.

Related: [SignalBrief series](/en/series/signalbrief/) · [Writing a query optimizer](/en/series/optimizer/) · [Subscribe](/en/posts/signalbrief-01/#issue-pdf)