nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound
TechnologiesCoding ProblemsBookmarksLearning Paths
nextRound

AI-powered interview preparation platform. Practice with curated questions, mock interviews, and personalized learning paths to crack your dream tech interview.

Quick Links

  • Technologies
  • Saved Questions
  • Pricing

Company

  • About Us
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Use

© 2026 nextRound. All rights reserved.

TOPIC OVERVIEW

javascript/V8

The engine that turns your JavaScript into a running program — parsing, compiling, and cleaning up after it.

10 QuestionsExpertHigh Priority ~14 min read

V8 is the engine behind Chrome and Node.js, and it doesn't just execute JavaScript — it manages a whole pipeline to get there. Your code first becomes an AST, then Ignition (V8's interpreter) turns that into bytecode and starts running it immediately, so there's no long compile step before anything happens. While Ignition runs, V8 watches for functions worth optimizing and sends them to TurboFan, the optimizing compiler, which is where the JIT behavior lives.

The other half of V8's job is memory. Every object you create lives on the heap, which V8 splits into a small young generation (for short-lived objects, collected fast and often) and a larger old generation (for objects that survive, collected less often but more thoroughly). Garbage collection here isn't one algorithm — V8 uses a fast copying collector (Scavenger) for young objects and a mark-sweep-compact collector for old ones, much of it running incrementally or concurrently so it doesn't freeze your program.

What you'll walk away knowing

The pipeline from source code to running program: parser → AST → Ignition bytecode → TurboFan
Why the heap is split into young and old generations, and what moves an object between them
How the Scavenger and Mark-Sweep-Compact collectors differ, and why V8 uses both
What makes a garbage collection pause 'stop-the-world' vs incremental or concurrent, and why that distinction matters for performance
1What is the "Smis" (Small Integers) optimisation in V8?Intermediate2Explain the components of the V8 Engine.Intermediate3How do Web Workers relate to the JS engine?Intermediate4How does the engine handle Large Objects (LO)?Advanced5What are Turbofan and Ignition in V8?Advanced6What are "Tagged Pointers" in V8?Intermediate7How does V8 handle try/catch blocks?Intermediate8How do "Orinoco" or "Maglev" fit into the V8 pipeline?Advanced
All Topics
1
Basics
Data Types
Functions
Objects
2
Engine
JIT
V8
Event Loop and Runtime
Concurrency and Threading
Bytecode and Parsing
Execution Context
Garbage Collector
3
this
Call Apply Bind
Closure
Error Handling
4
String Operations
Array Operations
Iterator and Generator
Modules
5
Events
Promises
Web Workers
Web Sockets
6
Functional Programming
Currying
Higher Order Functions
Memoisation
7
ES6 Classes
ES6
PWA
Web Assembly
Browser APIS
8
Security
Code
Polyfills
Sharethis topic

Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.