Skip to main content
Rafael Fernandez

Rafael Fernandez

⚡ Let’s Rock the Code! ⚡

Recent

How Query Engines Work 2. Why modern query engines think in columns

·13 mins
Why do modern query engines pass around columns instead of rows? Because the hardware loves it. This post explains why columnar layout is so fast, how Apache Arrow represents it in memory, and how to build and manipulate Arrow arrays in Rust without treating the whole thing like black magic.

The Elm Architecture: a loop that fits in your head

·14 mins
Model, Update, View. Three pieces, one loop, zero surprises. We explain The Elm Architecture from scratch with side-by-side examples in Rust and Scala, trace where the pattern came from, why it keeps showing up in TUIs and functional codebases, and when it stops being the right tool.

The Curry-Howard Correspondence: when types become proofs

·5 mins
Every well-typed program is a proof. Every type is a proposition. This is not a metaphor; it is a mathematical theorem discovered in the 1930s that explains why making invalid states unrepresentable actually works.