Writing · Dossier

Field notes,kept in order.

Deep dives into Node.js internals, systems programming, performance engineering, and the ritual of building zero-dependency libraries. Ordered newest first because that’s when the ink is still wet.

Topics —building compiler/foundations/rust fundamentals
Volume
4 posts across 1 year.
Rhythm
Slow. I’d rather ship one post per month that survives a re-read than four that don’t.
Style
Mechanism over metaphor. If I can’t draw it on a whiteboard I haven’t understood it yet.
Subscribe
RSS at /rss.xml — no newsletter, no pop-ups, no consent modal.
20254 posts
  1. 01

    Building a Lexer from Scratch

    A challenge oriented guide to building a tokenizer for a JavaScript-to-Python compiler. Learn state machines, number scanning, identifier recognition, and the fundamental techniques used in professional compilers like V8 and Roslyn.

    BUILDING COMPILER·  36 min read
  2. 02

    The Compiler: From Text to Machine Code

    Understanding how compilers translate human-readable code into executable programs. Learn the stages of compilation, optimization techniques, and why compile-time analysis is crucial for building reliable software.

    FOUNDATIONS·  38 min read
  3. 03

    Memory: The Stack & The Heap

    Understanding memory organization in programs - exploring the Stack's ordered efficiency and the Heap's flexible chaos. Learn how programs manage data, from function calls to dynamic allocation.

    FOUNDATIONS·  57 min read
  4. 04

    How a Program Runs: CPU & Instructions

    Learn in detail - what happens when you run a program. Learn about the Central Processing Unit (CPU) as an instruction-executing machine and how your compiled code is just a sequence of low-level instructions.

    Rust Fundamentals·  49 min read