Tag

V8

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Jun 2, 2025 · Backend Development

Why Node.js 24 Is a Game-Changer for Backend Development

Node.js 24 introduces native fetch support, a faster V8 engine, enhanced module interoperability, full Web Streams API, and numerous ecosystem upgrades, making it a compelling upgrade for developers seeking modern, high‑performance server‑side JavaScript.

JavaScriptNode.jsV8
0 likes · 7 min read
Why Node.js 24 Is a Game-Changer for Backend Development
Tencent Technical Engineering
Tencent Technical Engineering
Mar 24, 2025 · Fundamentals

Understanding V8 Garbage Collection: Scavenger and Mark‑and‑Sweep Algorithms

V8’s garbage collector splits memory into young and old generations, using a fast Scavenger minor‑GC that marks live objects, evacuates them via semi‑space copying, and updates pointers with write barriers, while a concurrent mark‑and‑sweep major‑GC employs three‑color marking, black allocation, sweeping and optional parallel compaction, with adaptive triggering based on heap usage.

Garbage CollectionJavaScriptMark and Sweep
0 likes · 30 min read
Understanding V8 Garbage Collection: Scavenger and Mark‑and‑Sweep Algorithms
JD Tech Talk
JD Tech Talk
Mar 20, 2025 · Fundamentals

Understanding V8 Memory Management: From Browser Crashes to Optimization

This article explores V8's memory management mechanisms, explaining how browser crashes often stem from memory issues and providing insights into garbage collection, memory leaks, and optimization techniques.

Chrome DevToolsGarbage CollectionJavaScript
0 likes · 14 min read
Understanding V8 Memory Management: From Browser Crashes to Optimization
Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2025 · Fundamentals

The Evolution of Smalltalk, Strongtalk, HotSpot, V8, and Dart: A Journey Through Virtual Machines

From Smalltalk’s pioneering pure‑object orientation, through Strongtalk’s static typing and Sun’s HotSpot JVM, to Lars Bak’s V8 JavaScript engine and the subsequent Dart language, a handful of innovators—including Gilad Bracha, Urs Hölzle, and Bak himself—have continually reshaped virtual‑machine performance and modern programming ecosystems.

DartJavaV8
0 likes · 7 min read
The Evolution of Smalltalk, Strongtalk, HotSpot, V8, and Dart: A Journey Through Virtual Machines
Tencent Docs Tech Team
Tencent Docs Tech Team
Oct 30, 2024 · Fundamentals

Deep Dive into V8 Engine: Compiler Pipeline, Object Model, Inline Caches, and Performance Optimizations

This article explains V8’s compiler pipeline, core components, runtime flags, tagged pointers, object model, hidden classes, inline caches, fast/slow properties, and practical JavaScript performance tips, illustrating how assumptions, feedback, and JIT compilation achieve up to ten‑fold speed improvements.

Inline CachesJITV8
0 likes · 32 min read
Deep Dive into V8 Engine: Compiler Pipeline, Object Model, Inline Caches, and Performance Optimizations
Tencent Cloud Developer
Tencent Cloud Developer
Sep 26, 2024 · Fundamentals

Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations

The article explains V8’s compiler pipeline from parsing to TurboFan optimization, details tagged pointers, hidden‑class object models and inline caches, and offers practical performance tips such as keeping functions short, preserving monomorphic call sites, stabilizing property order, and avoiding deletes to maintain fast property access.

Hidden ClassInline CachesJIT
0 likes · 27 min read
Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations
JD Tech Talk
JD Tech Talk
Sep 19, 2024 · Fundamentals

Porting the V8 JavaScript Engine to HarmonyOS: Background, Architecture, Tool Selection, and Cross‑Compilation Process

This article explains the need to adapt the Roma framework for HarmonyOS by selecting and analyzing the V8 JavaScript engine, describes its internal components such as the parser, Ignition interpreter, TurboFan JIT compiler and Orinoco garbage collector, and provides a step‑by‑step guide for cross‑compiling V8 with CMake, GN, Ninja and tool‑chain files to produce a usable library for HarmonyOS native projects.

Engine InternalsHarmonyOSJavaScript
0 likes · 36 min read
Porting the V8 JavaScript Engine to HarmonyOS: Background, Architecture, Tool Selection, and Cross‑Compilation Process
Code Mala Tang
Code Mala Tang
Aug 2, 2024 · Frontend Development

Why Your setTimeout Can Leak Gigabytes: JavaScript GC Explained

This article examines how JavaScript's garbage collection works, why large objects allocated in setTimeout callbacks can cause memory leaks, and provides practical code examples and strategies to prevent such leaks in V8-powered environments.

Garbage CollectionJavaScriptMemory Leak
0 likes · 10 min read
Why Your setTimeout Can Leak Gigabytes: JavaScript GC Explained
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 5, 2024 · Fundamentals

How V8 Implements JavaScript Closures

V8 creates JavaScript closures by lazily parsing functions, using a pre‑parser to detect and record outer‑variable references, copying captured values to the heap, then generating bytecode that builds a function context and closure, ensuring efficient execution while avoiding memory‑leak pitfalls.

BytecodeClosuresEngine Internals
0 likes · 16 min read
How V8 Implements JavaScript Closures
ByteFE
ByteFE
Jul 26, 2023 · Frontend Development

Browser Fundamentals: Process Architecture, V8 Engine, Memory Management, Event Loop, Rendering, and Security

This comprehensive guide explains browser fundamentals, covering process and thread architecture, single‑ and multi‑process models, the V8 engine's data types, property ordering, memory allocation and garbage collection, compilation stages, the event loop, rendering pipeline, performance optimization techniques, and security mechanisms.

Event LoopMemory ManagementRendering
0 likes · 43 min read
Browser Fundamentals: Process Architecture, V8 Engine, Memory Management, Event Loop, Rendering, and Security
DaTaobao Tech
DaTaobao Tech
Jun 28, 2023 · Backend Development

Debugging V8FatalErrorCallback OOM Crashes in Electron Live Streaming Client

The article details how the author traced V8FatalErrorCallback out‑of‑memory crashes in an Electron‑based Taobao Live client to an ever‑growing compilation cache and pointer‑compression limits, rebuilt Electron with those disabled, identified a JavaScript memory leak caused by unfiltered error logging, and implemented runtime heap monitoring to prevent future OOM failures.

ChromeDevToolsElectronMemoryLeak
0 likes · 35 min read
Debugging V8FatalErrorCallback OOM Crashes in Electron Live Streaming Client
政采云技术
政采云技术
Dec 13, 2022 · Frontend Development

Understanding the Shape of JavaScript Code in V8 Memory: Stack, Heap, and Constant Pool

This article explains how JavaScript code is represented in V8's memory, covering primitive types, the roles of the stack, heap, and constant pool, as well as function prototypes, variable hoisting, and garbage collection, with clear examples and diagrams.

Constant PoolFunctionsJavaScript
0 likes · 12 min read
Understanding the Shape of JavaScript Code in V8 Memory: Stack, Heap, and Constant Pool
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2022 · Fundamentals

Understanding JavaScript Variable Lookup and Scope from the ECMAScript Specification and V8 Engine Perspective

The article explains how JavaScript variable lookup and lexical scope are determined during compilation by the V8 engine, covering the language's compiled‑and‑interpreted nature, JIT optimizations, AST generation, lazy parsing, dynamic lookups, and bytecode creation to demystify runtime performance.

CompilationECMAScriptJIT
0 likes · 14 min read
Understanding JavaScript Variable Lookup and Scope from the ECMAScript Specification and V8 Engine Perspective
Laravel Tech Community
Laravel Tech Community
Oct 19, 2022 · Backend Development

Node.js 19 Release Highlights: V8 10.7 Upgrade, Experimental --watch, Default HTTP/1.1 KeepAlive, Stable WebCrypto, and Deprecations

Node.js 19, released today, updates the V8 engine to version 10.7, enables experimental node --watch mode, defaults HTTP/1.1 Keep‑Alive, stabilizes the WebCrypto API, removes experimental specifier‑resolution flag, and deprecates DTrace/SystemTap/ETW support while bundling llhttp 8.1.0 and npm 8.19.2.

Node.jsV8WebCrypto
0 likes · 4 min read
Node.js 19 Release Highlights: V8 10.7 Upgrade, Experimental --watch, Default HTTP/1.1 KeepAlive, Stable WebCrypto, and Deprecations
ByteFE
ByteFE
Sep 23, 2022 · Frontend Development

Curated Technical Articles: Productivity, Memory Leak Detection, Rust Challenges, Frontend Innovations, and More

This curated collection presents insights on engineering productivity, JavaScript memory leak detection with MemLab, Rust's top challenges, V8 execution, advanced frontend tools like Lath and Plasmo, Playwright component testing, senior engineering perspectives, and practical guides on proxy patterns and Babel plugins.

JavaScriptMemory LeakRust
0 likes · 7 min read
Curated Technical Articles: Productivity, Memory Leak Detection, Rust Challenges, Frontend Innovations, and More