About:

I'm a consultant for high-performance Node.js/JavaScript apps. You'll find my blogs, courses, and services here.

Website:

Specializations:

Outgoing Links:

Harper Reed swyx
Subscribe to RSS:
Refactoring a Virtual Machine using Data-Oriented Design principles enhances performance and simplifies architecture, paving the way for future compiler development.
A transition from a hardcoded water jug solver to a flexible virtual machine for formal verification is explored, emphasizing the importance of generic state representation and conditional logic.
A comprehensive guide to building a lock-free SPSC queue using a circular buffer, focusing on atomic operations and performance optimizations.
The article explains race conditions in concurrent programming and the necessity of atomic operations and memory ordering to ensure correct thread synchronization.
The article discusses the Queue data structure, emphasizing its importance in both everyday life and computing. It explains the First-In, First-Out (FIFO) principle, detailing how queues manage data processing order. The author pr...
Creating a TLA+-inspired model checker in Odin reveals the power of formal verification by defining system rules instead of following traditional programming recipes.
The author, a freelancer specializing in web app performance, undertook a personal challenge to optimize the processing of a 14.80 GB file containing 1 billion rows of temperature data. Through a series of experiments, he achieved...
Async generators in JavaScript provide a powerful way to process data streams efficiently and modularly, enhancing memory management and code readability.
Prerendering and the Speculation Rules API optimize web performance by preloading pages, enhancing navigation speed and user engagement on multi-page websites.
The blog post discusses the development of an AI Search and Article Summariser using the AI SDK, focusing on the capabilities of AI agents that autonomously search the web, analyze multiple sources, and provide comprehensive summa...
The blog post introduces Angular Signals, a new approach to managing reactive state in Angular applications, contrasting it with RxJS observables. It provides a tutorial on building a countdown timer application that showcases the...
The article discusses the limitations of large language models (LLMs) that lack access to current data and emphasizes the importance of tool calling for enhancing their functionality. It critiques the design of multi-call protocol...
This blog post provides a comprehensive guide for TypeScript developers on how to build AI applications using the Vercel AI SDK. It covers the setup of a development environment, the creation of two practical examples—a CLI tool f...
This guide explains how to enhance an AI chatbot by implementing tool calling, allowing it to access real-time data and external services. It details the process of creating custom tools, such as a function to get the current time...
The post discusses Bun, a new JavaScript runtime that aims to simplify the development of React applications by integrating bundling, testing, and package management into a single tool. It provides a step-by-step guide on how to s...
This comprehensive guide explains how strings work in the Zig programming language, highlighting their differences from other languages. It covers string literals, mutability, memory management, Unicode handling, and various strin...
The post reviews five of the best React data grid libraries, highlighting their features, performance, and suitability for different project needs. It covers TanStack Table, MUI X Data Grid, KendoReact Data Grid, AG Grid, and reac...
The post discusses the author's experience with 'vibe coding' while building BreezeQ, a Node.js background job tool. The author contrasts the common perception of vibe coding as a quick process with their own experience, which too...
This article introduces Analog, a full-stack meta-framework built on Angular, designed to enhance the developer experience with features like file-based routing, API routes, and server-side rendering. It provides a step-by-step gu...
The author reflects on a transformative 2025, emphasizing the importance of simplicity and thoughtful engineering in software development through impactful content and personal growth.
The author commits to a year-long journey of learning the Zig programming language, sharing progress and insights through various platforms. This decision stems from a desire to explore software development with a focus on simplic...
The post discusses the challenges of software complexity, referencing Gall's Law, which states that complex systems evolve from simple ones. The author critiques the mindset of 'complexity by default' in software design, distingui...
The post provides a step-by-step guide on building a simple AI weather agent using TypeScript and Node.js. It covers the prerequisites, including obtaining an API key from Gemini, scaffolding the project with the Mastra SDK, and u...
This tutorial provides a step-by-step guide to building a Markdown-powered blog using Analog, a meta-framework for Angular. It covers project setup, creating blog posts with Markdown, displaying posts, static page prerendering, an...