JavaScript runtime
A JavaScript execution environment that runs JavaScript code and provides language services and interfaces to its host platform.
JavaScript in Depth
An execution environment that runs JavaScript and provides the host APIs needed by its implementation.
- How it is used
- Explains why identical JavaScript can produce different results across hosts and module formats.
- How deep it goes
- Defines engine and host responsibilities, then traces scheduling differences to queues and module loading; defers detailed queue behavior.
- Examples
- Compares a queued-callback script under Node.js CommonJS and ECMAScript modules, Deno, Bun, Chrome, and Cloudflare Workers.
- What you can do after
- Diagnose/debug with it by separating host scheduling and API differences from language and engine behavior.
Grokking Concurrency
A runtime environment is the software and system context that provides services for executing programs on a computing architecture.
- How it is used
- Connects application-level concurrency to hardware execution through runtime scheduling and resource management.
- How deep it goes
- Explains general runtime services and multitasking, without specifying JavaScript runtime internals.
- Examples
- Illustrates disk access, an interface with worker threads, and a Python program creating five child threads.
- What you can do after
- Evaluate and understand how runtime scheduling affects concurrent execution and why shared resources need synchronization.
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
A runtime environment is the software environment that provides the language runtime and execution support required by application code.
- How it is used
- Runs JavaScript/Node.js functions inside AWS Lambda’s serverless execution model.
- How deep it goes
- Defines runtime selection, deployment, initialization, cold starts, and custom-runtime trade-offs, but stops short of language internals.
- Examples
- Uses website health checks and automated EC2-instance tagging as practical Lambda function examples.
- What you can do after
- Operate/configure a JavaScript/Node.js Lambda function by uploading dependencies, selecting a runtime, and invoking the function.
Secrets of the JavaScript Ninja, Third Edition
A software environment that executes JavaScript and provides access to host-platform features.
- How it is used
- Explains where JavaScript runs and how environments expose host capabilities.
- How deep it goes
- Traces execution through engines and API bindings, then addresses feature support and compatibility workarounds.
- Examples
- Uses browser APIs, Node.js APIs, V8, JavaScriptCore, Lodash, and jsdom as examples.
- What you can do after
- Evaluate runtime compatibility by checking feature support and choosing transpilation, polyfills, or runtime tests.
Read how Secrets of the JavaScript Ninja, Third Edition explains JavaScript runtime →
.NET in Action, Second Edition
A runtime is the execution environment that loads and runs program code while providing language and system services.
- How it is used
- Places JavaScript execution in the .NET ecosystem through a listed interpreter project.
- How deep it goes
- Lists Jint as an interpreter without describing JavaScript execution internals.
- Examples
- Uses Jint, labeled a JavaScript interpreter, as its concrete example.
- What you can do after
- Understand that a JavaScript interpreter can be part of the .NET ecosystem.
Read how .NET in Action, Second Edition explains JavaScript runtime →
Modern C, Third Edition
A runtime environment is the software and system context that provides resources and services while a program executes.
- How it is used
- Connects an executing application to startup, library services, environment settings, locale, and termination.
- How deep it goes
- Explains entry points, status propagation, environment access, and locale categories, but does not describe JavaScript engine internals.
- Examples
- Uses main prototypes, EXIT_SUCCESS, exit, getenv_s, bounded buffers, environment variables, and setlocale categories.
- What you can do after
- Operate runtime-facing C interfaces to return status, terminate programs, read environment values, and configure locale behavior.
Read how Modern C, Third Edition explains JavaScript runtime →
Also covered in
- Server-Side WebAssembly
- Fast by DefaultIn early access (MEAP)
- Refactoring to Rust
- Learn Rust in a Month of Lunches
- Deep Learning with JAX
- Go in Practice, Second Edition
- Modern C
- Building Web APIs with ASP.NET Core
- Digital Twins in Action
- Grokking Simplicity
- Clojure: The Essential Reference
- Cloud Observability in Action
What to know first
- JavaScriptJavaScript is a high-level, dynamically typed programming language standardized as ECMAScript and used for web and general-purpose programming.
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
- monitoringMonitoring is the ongoing observation and measurement of a system or process to assess its behavior or condition and detect changes, failures, or other problems.
Related concepts
- Node.jsincludes · Node.js is an open-source JavaScript runtime built on the V8 engine for executing JavaScript outside web browsers.
- JavaScript engineuses · A JavaScript engine is software that parses and executes JavaScript code, often compiling or interpreting it into instructions for execution.
- compile timecontrasts with · Compile time is the phase before program execution in which source code is analyzed, checked, or transformed by language tools.
- green threadused by · A green thread is a lightweight execution unit managed and scheduled by a language runtime or library, rather than directly by the operating-system kernel.
- asynchronous programmingused by · Asynchronous programming structures operations so that the initiating execution can continue or yield control without synchronously waiting for each operation to complete.
Questions about JavaScript runtime
What is JavaScript runtime?
A JavaScript execution environment that runs JavaScript code and provides language services and interfaces to its host platform.
Which Manning books explain JavaScript runtime?
JavaScript in Depth, Grokking Concurrency, Amazon Web Services in Action, Third Edition: An in-depth guide to AWS, Secrets of the JavaScript Ninja, Third Edition, .NET in Action, Second Edition and Modern C, Third Edition.
What should I know before learning JavaScript runtime?
Manning books that teach JavaScript runtime usually introduce JavaScript, Python, Java and monitoring first.
What is the difference between JavaScript runtime and compile time?
A JavaScript execution environment that runs JavaScript code and provides language services and interfaces to its host platform. Compile time is the phase before program execution in which source code is analyzed, checked, or transformed by language tools.
What kinds of JavaScript runtime are there?
Kinds of JavaScript runtime include Node.js.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.





