Posts
All the articles I've posted.
Spec-Driven Development — The AI-Native Engineering Workflow I Use Daily
Posted on:February 10, 2025 at 10:00 AMSpec-Driven Development is the workflow where you write a precise specification first, then use AI to generate and iterate on the implementation. It sounds like prompt engineering — it's actually a different way of thinking about software design.
Gas Optimization in Solidity — Techniques That Saved Real ETH
Posted on:January 13, 2025 at 10:00 AMConcrete Solidity gas optimization techniques with before/after gas measurements: storage layout packing, calldata vs memory, custom errors, unchecked arithmetic, and mapping vs array tradeoffs. Numbers from a real ERC-20 + staking contract optimization.
Node.js Worker Threads — True Parallelism Without the Cluster Mess
Posted on:December 9, 2024 at 10:00 AMNode.js Worker Threads enable true CPU parallelism in a single process. This post covers the communication model, SharedArrayBuffer for zero-copy data sharing, thread pool patterns, and benchmarks showing when Workers outperform cluster vs when they don't.
DeFi Flash Loans — How They Work and a Simulated P&L Calculator
Posted on:November 11, 2024 at 10:00 AMFlash loans let you borrow any amount with zero collateral — as long as you repay in the same transaction. This post explains the mechanics, real arbitrage scenarios with P&L math, and how flash loan attacks have drained hundreds of millions from DeFi protocols.
Polars vs Pandas — A Benchmark That Changed How I Process Data
Posted on:October 14, 2024 at 10:00 AMComprehensive benchmarks comparing Polars and pandas across groupby, join, filter, and window operations on datasets from 1M to 100M rows. Polars wins by 5-20x in most scenarios — here's what that means for your data pipelines.
Node.js Streams and Backpressure — Why Your File Uploads Are Slow
Posted on:September 9, 2024 at 10:00 AMHow Node.js streams work under the hood, what backpressure is and why it matters, and the specific patterns that cause slow uploads, memory bloat, and dropped data. Includes a comparison of buffered vs streaming throughput.