JavaScript, TypeScript, and the runtimes underneath

What JavaScript and TypeScript actually do, one layer down

JS Ledger examines JavaScript, TypeScript, and the runtimes, frameworks, and tooling behind modern web applications.

Recently filed

Latest articles

All posts

Frameworks

The React Compiler Wrote You a Seven-Slot Cache

The compiler's output is a slot array and a chain of guarded assignments. Reading one compiled component explains what it caches, what it skips, and when it declines.

Ecosystem and production

Node Runs Your TypeScript. It Does Not Check It.

Node 26.8.1 runs a .ts file with no flag and no complaint about a string assigned to a number. Here is the boundary — what erases, what throws, and what tsc still owes you.

Runtime and performance

Four Maps Is Polymorphic. Five Is Not.

Monomorphic, polymorphic and megamorphic are counted states with a threshold of four. Here is the transition log, the V8 line that decides it, and the cost.

Sections

The pillars

All sections
  1. Language internals5 articles
  2. Runtime and performance4 articles
  3. Ecosystem and production4 articles
  4. Frameworks3 articles
  5. Tooling and build3 articles

Read in order

Series

All series

Arrow keys to move, Enter to open.