Blog

Contains the title of the post: Building a Lock-Free Single Producer, Single Consumer Queue (FIFO)

Building a Lock-Free Single Producer, Single Consumer Queue (FIFO)

Build a complete lock-free Single Producer Single Consumer (SPSC) queue from scratch. Step-by-step implementation in Zig with detailed explanations of every atomic operation and memory ordering choice.

Contains the title of the post: Faster Websites with Client-side Prerendering & Speculation Rules API

Faster Websites with Client-side Prerendering & Speculation Rules API

Learn how to use client-side prerendering and the Speculation Rules API to improve the performance of your site.

Contains the title of the post: When Threads Share Memory: Understanding Race Conditions and Atomics

When Threads Share Memory: Understanding Race Conditions and Atomics

Learn why multi-threaded programs break in subtle ways and how atomic operations fix them. A practical guide to race conditions, memory ordering, and Acquire/Release semantics.

Contains the title of the post: On Software Complexity: Why Can't We Make Simple Software?

On Software Complexity: Why Can't We Make Simple Software?

Exploring the challenges of software complexity and advocating for simplicity in design.

Contains the title of the post: Write Your Own FIFO Queue: An Essential Data Structure for Modern Systems

Write Your Own FIFO Queue: An Essential Data Structure for Modern Systems

Learn how to implement a queue data structure from scratch using circular buffers. Understand FIFO principles, constant-time operations, and why this pattern powers everything from audio processing to network packet handling. Code examples in Zig.

Contains the title of the post: The Road Ahead: Why I'm Going All-In on Zig

The Road Ahead: Why I'm Going All-In on Zig

This is a story about leaving the comfort of web development to tackle hard problems, find a new philosophy, and build software that lasts.

Contains the title of the post: Angular Signals: Building a Reactive Countdown Timer

Angular Signals: Building a Reactive Countdown Timer

A comprehensive tutorial for experienced Angular developers to learn Angular Signals and their practical applications.

Contains the title of the post: Node.js Performance: Processing 14GB Files 78% Faster with Buffer Optimization

Node.js Performance: Processing 14GB Files 78% Faster with Buffer Optimization

Learn how to optimize Node.js for processing large files: 14GB of data processed 78% faster using buffer streaming, byte-level parsing, and hash-based lookups. Complete guide with benchmarks, profiling insights, and code examples for handling 1 billion rows efficiently.

Contains the title of the post: Working with Strings in Zig: A Comprehensive Guide

Working with Strings in Zig: A Comprehensive Guide

Learn how to work with strings in Zig: slicing, formatting, Unicode handling, memory allocation, and C interoperability. A practical reference for Zig developers.

Subscribe to newsletter

Subscribe to receive expert insights on high-performance Web and Node.js optimization techniques, and distributed systems engineering. I share practical tips, tutorials, and fun projects that you will appreciate. No spam, unsubscribe anytime.