Kniha Introduction to JavaScript Runtime Architecture Bennett Halford

Introduction to JavaScript Runtime Architecture

Event Loops Module Loaders and Native Performance Optimization

Jazyk: Angličtina
Vazba: Brožovaná
Dostupnost: Očekávané naskladnění
Naskladnění 03. 06. 2026
404
A practical guide to how JavaScript really runs, this book connects language features to the runtime...

Informace o knize

Jazyk
Angličtina
Vazba
Kniha - Brožovaná
Vydáno
2026
Stránek
264
EAN
9798199221757
Enbook ID
52749435
Hmotnost
621
Rozměry
216 x 280 x 14

Kompletní popis

A practical guide to how JavaScript really runs, this book connects language features to the runtime systems that make them work. It moves from execution basics to event loop behavior, module resolution, loading lifecycles, browser and Node integration, and the performance details that matter when code must be fast, predictable, and maintainable.

What you will learn

  • How execution contexts, call stacks, parsers, compilers, and optimizers shape program behavior.
  • The mechanics of task queues, microtasks, timers, I/O callbacks, and scheduling order.
  • How Promises, async functions, and error propagation interact across async boundaries.
  • CommonJS and ECMAScript modules, including resolution, linking, caching, and cyclic dependencies.
  • How Node.js and browser runtimes integrate with native platform services, rendering, networking, and input.
  • Performance tuning techniques for allocation pressure, GC behavior, hot paths, and JIT optimization limits.

Why this book stands out

Rather than treating runtime behavior as a black box, the chapters trace how source code becomes executable work, then show where latency, memory churn, and scheduling mistakes appear in real applications. Each major topic is paired with a hands-on example, from tracing callback order and testing async flows to profiling I/O workloads and diagnosing UI jank.

Ideal for

  1. JavaScript developers who want a deeper understanding of engine and runtime internals.
  2. Node.js engineers who need better control over modules, workers, streams, and diagnostics.
  3. Frontend developers looking to reduce main-thread stalls and improve responsiveness.
  4. Performance-minded engineers working on CPU-heavy or I/O-heavy systems.

Inside the book, you will find clear explanations of runtime architecture, concrete debugging and profiling workflows, and case studies that connect theory to production issues. If you need a grounded reference for building faster, steadier JavaScript systems, this title offers the technical depth to help.