yceffort
07 POSTS

Compiler 1

  • ◆ Building coldpath Part 4
    #bundler#debugging#compiler

    How Bundlers Remember Imports

    Tracing a coldpath misclassification that read every synchronous dependency in the Turbopack analysis file as a static import. This post compares the graph information and build output of webpack, Turbopack, Vite, and esbuild, and looks at which clues reveal the original syntax and which cases cannot be recovered.

    29 min read
  • #rust#markdown#oss

    The Real Cost of Drop-in Compatibility: What I Threw Away Porting markdownlint-cli2 to Rust

    I ported markdownlint-cli2 to Rust and matched 264,114 diagnostics on this blog repository byte for byte. Porting 51 rules took a single day, but turning that into a tool you could actually swap in took two weeks. Along the way I gave up a parser 37 times faster, corrected two misreadings of performance measurements, and found 11 more compatibility differences in an adversarial review.

    26 min read
  • #debugging#bundler#nextjs

    Next.js Turbopack Turned One Singleton into Two: A Scope Hoisting Bug and a Circular Import

    In a Next.js 16 Turbopack production build, a module-scope singleton became two live instances at runtime. Inside the same synchronous block, one condition contradicted the other, and responses that arrived in 30ms still timed out. I found the cause by following a partial scope hoisting merge and a circular import through the bundle output, and confirmed the same bug had already been fixed upstream.

    16 min read
  • ◆ Directive Deep Dive Part 1
    #react#nextjs#bundler

    'use client' Directive Deep Dive: To the Edge of Client Boundaries

    Module boundaries created by a single line of 'use client', build-time transformations, Flight serialization, and performance implications

    33 min read
  • ◆ Directive Deep Dive Part 2
    #react#nextjs#networking

    React Server Functions Deep Dive: To the End of "use server"

    What happens behind a single line of "use server"?

    26 min read
  • #react#compiler#web-performance

    React Compiler Deep Dive: From Principles to Output

    A deep exploration of how React Compiler analyzes code and what it produces, from pipeline to final output.

    24 min read
  • #compiler#javascript

    Understanding AST for JavaScript Developers (2026 Update)

    A comprehensive guide covering AST concepts, parsing process, key node types, and practical usage in tools like Babel and ESLint.

    13 min read