Tagged articles
126 articles
Page 1 of 2
Node.js Tech Stack
Node.js Tech Stack
May 7, 2026 · Backend Development

Node.js 26.0.0: Temporal API Enabled, V8 14.6 Upgrades, End of Old Versioning

Node.js 26.0.0, released on May 5, activates the Temporal API by default, upgrades V8 to 14.6 with new Map upsert and Iterator.concat proposals, moves Undici to version 8, deprecates several legacy APIs, and marks the final release under the old version‑numbering scheme before shifting to yearly, calendar‑aligned releases.

DeprecationsNode.jsTemporal API
0 likes · 11 min read
Node.js 26.0.0: Temporal API Enabled, V8 14.6 Upgrades, End of Old Versioning
Black & White Path
Black & White Path
Apr 21, 2026 · Information Security

Claude Opus Demonstrates AI‑Assisted Chrome Exploit Chain Construction

A security researcher used Anthropic's Claude Opus to automatically combine two V8 vulnerabilities—CVE‑2026‑5873 and a sandbox‑escape flaw—to build a full Chrome exploit chain against an outdated Electron‑based Discord client, highlighting patch‑lag risks, economic incentives, and current AI limitations.

AI securityCVE-2026-5873Chrome exploit
0 likes · 5 min read
Claude Opus Demonstrates AI‑Assisted Chrome Exploit Chain Construction
21CTO
21CTO
Jan 22, 2026 · Frontend Development

Electron 40.0.0 Unveiled: Core Stack Overhaul, New Features & Migration Guide

Electron 40.0.0, released on January 13, 2026, brings a comprehensive core stack upgrade—including Chromium 144, Node.js 24.11.1, and V8 14.4—adds new features like WebSocket authentication and HDR rendering, outlines breaking API changes, and provides a step‑by‑step migration guide for developers.

ChromiumDesktop AppsElectron
0 likes · 6 min read
Electron 40.0.0 Unveiled: Core Stack Overhaul, New Features & Migration Guide
Code Mala Tang
Code Mala Tang
Nov 5, 2025 · Backend Development

How to Detect and Fix Memory Leaks in Long-Running Node.js Apps

Memory leaks can silently cripple long-running Node.js servers, but by understanding V8’s memory management, recognizing common leak patterns, and using tools like manual monitoring, Chrome DevTools snapshots, clinic.js or memwatch-next, developers can detect, diagnose, and fix leaks to keep performance stable.

V8memory leak
0 likes · 8 min read
How to Detect and Fix Memory Leaks in Long-Running Node.js Apps
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
Tencent Docs Tech Team
Tencent Docs Tech Team
Mar 24, 2025 · Fundamentals

How V8’s Scavenger and Mark‑Sweep Algorithms Optimize JavaScript Memory Management

This article explains V8’s generational heap layout, the Scavenger minor‑GC algorithm with its marking, evacuation and pointer‑updating steps, the parallel Scavenger enhancements, the major mark‑and‑sweep collector with optional compaction, and the various triggers that decide when each garbage‑collection phase runs.

Garbage CollectionJavaScriptMark‑Sweep
0 likes · 30 min read
How V8’s Scavenger and Mark‑Sweep Algorithms Optimize JavaScript Memory Management
JD Cloud Developers
JD Cloud Developers
Mar 20, 2025 · Frontend Development

Why Does Your Browser Crash? Uncover V8’s Memory Management Secrets

This article explains how V8’s memory management and garbage‑collection mechanisms work, outlines common memory‑leak scenarios in JavaScript, and provides practical techniques and tools for detecting and optimizing memory usage to prevent browser crashes and improve performance.

Garbage CollectionJavaScriptMemory Management
0 likes · 18 min read
Why Does Your Browser Crash? Uncover V8’s Memory Management Secrets
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.

DARTV8java
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.

JITV8inline caches
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.

JITJavaScriptTagged Pointer
0 likes · 27 min read
Understanding V8 Engine: Compiler Pipeline, Tagged Pointers, Inline Caches, and Performance Optimizations
JD Cloud Developers
JD Cloud Developers
Sep 19, 2024 · Fundamentals

How to Port the V8 JavaScript Engine to HarmonyOS – A Complete Guide

This article explains why the Roma framework needs a JavaScript engine on HarmonyOS, compares mainstream JS engines, details V8's architecture and JIT pipeline, and provides a step‑by‑step process for cross‑compiling V8 with CMake, GN, Ninja and the HarmonyOS SDK, including code examples and tooling tips.

CMakeHarmonyOSJavaScript Engine
0 likes · 40 min read
How to Port the V8 JavaScript Engine to HarmonyOS – A Complete Guide
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.

CMakeHarmonyOSJavaScript
0 likes · 36 min read
Porting the V8 JavaScript Engine to HarmonyOS: Background, Architecture, Tool Selection, and Cross‑Compilation Process
Goodme Frontend Team
Goodme Frontend Team
Sep 9, 2024 · Fundamentals

How JavaScript Parsers Turn Code into ASTs: Lexical & Syntax Basics

This article explains how JavaScript parsers transform source code strings into abstract syntax trees through lexical analysis and syntax parsing, covering language types, V8’s execution flow, token generation, AST construction, and practical examples, while also linking to tools like AST Explorer for further exploration.

ASTParserSyntax Parsing
0 likes · 10 min read
How JavaScript Parsers Turn Code into ASTs: Lexical & Syntax Basics
JD Cloud Developers
JD Cloud Developers
Aug 22, 2024 · Mobile Development

How JD Finance Tackles HarmonyOS: A Dynamic Cross-Platform Adaptation Blueprint

JD Finance’s engineering team outlines a dynamic, cross-platform adaptation strategy for migrating Android apps to the new HarmonyOS, detailing challenges of native rewrites, the V8 virtual machine port, JSI communication layers, layout integration with Yoga, and future plans for self-drawn rendering and mini-program conversion.

HarmonyOSJSIV8
0 likes · 11 min read
How JD Finance Tackles HarmonyOS: A Dynamic Cross-Platform Adaptation Blueprint
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.

V8memory 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.

JavaScriptLazy ParsingV8
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.

BrowserRenderingV8
0 likes · 43 min read
Browser Fundamentals: Process Architecture, V8 Engine, Memory Management, Event Loop, Rendering, and Security
Alipay Experience Technology
Alipay Experience Technology
Jun 30, 2023 · Frontend Development

Fixing V8 OOM Crashes in Electron: Debugging, Memory Analysis, and Building a Custom Electron

This article walks through diagnosing V8FatalErrorCallback OOM crashes in an Electron‑based PC Taobao Live client, explores stack analysis, disables compilation cache, adjusts V8 heap limits, compiles a custom Electron without pointer compression, and uses Chrome DevTools Memory and Performance tools along with runtime monitoring to locate and fix the underlying memory leak.

Chrome DevToolsElectronNode.js
0 likes · 35 min read
Fixing V8 OOM Crashes in Electron: Debugging, Memory Analysis, and Building a Custom Electron
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
21CTO
21CTO
May 29, 2023 · Backend Development

What’s New in Deno 1.34? Binary Compilation, npm Support, and TLS IP Certificates

Deno 1.34 introduces npm package support for deno compile, the ability to bundle resources into a single executable, TLS certificates that accept IP addresses, enhanced glob patterns in deno.json and CLI flags, plus numerous bug fixes, V8 11.5 and TypeScript 5.0.4 updates.

ConfigurationDenoTLS IP certificate
0 likes · 4 min read
What’s New in Deno 1.34? Binary Compilation, npm Support, and TLS IP Certificates
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.

BackendNode.jsV8
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.

JavaScriptRustV8
0 likes · 7 min read
Curated Technical Articles: Productivity, Memory Leak Detection, Rust Challenges, Frontend Innovations, and More
ELab Team
ELab Team
Aug 4, 2022 · Fundamentals

Understanding V8’s Memory Management and Garbage Collection Strategies

This article explains how the V8 JavaScript engine manages memory through stack and heap allocation, describes its generational garbage‑collection architecture—including New Space, Old Space, and various GC algorithms—and offers practical optimization techniques to reduce pause times and improve performance.

Garbage CollectionJavaScriptMemory Management
0 likes · 21 min read
Understanding V8’s Memory Management and Garbage Collection Strategies
ELab Team
ELab Team
Apr 26, 2022 · Frontend Development

Understanding JavaScript Memory Leaks and V8 Garbage Collection

This article explains how JavaScript's garbage collector works, outlines typical memory‑leak scenarios, and provides practical techniques—such as reducing global variables, cleaning DOM references, and managing event listeners—to improve performance and avoid UI jank.

JavaScriptV8frontend
0 likes · 17 min read
Understanding JavaScript Memory Leaks and V8 Garbage Collection
Tencent Cloud Developer
Tencent Cloud Developer
Mar 16, 2022 · Fundamentals

How V8 Executes JavaScript: From Parsing to JIT Optimization

This article explains the core concepts of compilation and interpretation, compares static and dynamic languages, and walks through the V8 engine’s workflow—including parsing, bytecode generation, JIT compilation, and TurboFan optimizations—providing concrete code examples and command‑line tips.

CompilationJITJavaScript
0 likes · 8 min read
How V8 Executes JavaScript: From Parsing to JIT Optimization
IT Services Circle
IT Services Circle
Mar 15, 2022 · Frontend Development

Understanding How JavaScript Works: From Interpreted vs. Compiled Languages to the V8 Engine Execution Process

This article explains the fundamental principles behind JavaScript execution, covering the distinction between interpreted and compiled languages, the architecture of JavaScript engines (including V8, SpiderMonkey, and JavaScriptCore), runtime environments, the single‑threaded event loop, call‑stack processing, lexical analysis, parsing, bytecode, JIT compilation, and the role of Web Workers in off‑loading CPU‑intensive tasks.

EngineJITJavaScript
0 likes · 13 min read
Understanding How JavaScript Works: From Interpreted vs. Compiled Languages to the V8 Engine Execution Process
Alibaba Terminal Technology
Alibaba Terminal Technology
Mar 8, 2022 · Frontend Development

How Alibaba’s JS AOT Supercharges Web Performance: Design, Implementation, and Results

This article explains Alibaba's JavaScript Ahead‑of‑Time (AOT) technology, detailing the performance challenges of dynamic JS, the three compilation strategies evaluated, the chosen hybrid approach with profile‑guided and rule‑based optimizations, and the measurable speed gains achieved in production.

AlibabaAoTJavaScript
0 likes · 14 min read
How Alibaba’s JS AOT Supercharges Web Performance: Design, Implementation, and Results
IT Xianyu
IT Xianyu
Feb 18, 2022 · Frontend Development

Understanding Object.keys Order and V8 Property Handling to Fix a wxml2canvas Bug

This article explains why a WeChat mini‑program’s share card lost its QR code due to incorrect assumptions about Object.keys ordering, dives into the ECMAScript specification and V8’s internal property storage, and shows how to modify wxml2canvas to correctly sort elements and avoid the bug.

JavaScriptObject.keysV8
0 likes · 19 min read
Understanding Object.keys Order and V8 Property Handling to Fix a wxml2canvas Bug
ELab Team
ELab Team
Jan 13, 2022 · Fundamentals

Unlocking V8: How Fast and Slow Properties Boost JavaScript Performance

This article dives into V8's internal optimizations for object properties, covering fast and slow properties, in‑object storage, hidden classes, array holes, fast/slow arrays, and inline caches, and offers practical advice for writing high‑performance JavaScript code.

Hidden ClassesJavaScriptV8
0 likes · 19 min read
Unlocking V8: How Fast and Slow Properties Boost JavaScript Performance
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Nov 26, 2021 · Fundamentals

Understanding V8 Engine Memory Allocation and Garbage Collection

This article explains how the V8 JavaScript engine allocates memory, why garbage collection is necessary, describes the memory layout of new and old generations, reviews common GC algorithms such as reference counting, mark‑sweep, mark‑compact and incremental marking, and offers practical tips for writing high‑performance JavaScript code.

Garbage CollectionJavaScriptMemory Management
0 likes · 22 min read
Understanding V8 Engine Memory Allocation and Garbage Collection
ELab Team
ELab Team
Oct 13, 2021 · Frontend Development

How V8 Supercharges JavaScript: Inside the Engine’s Magic

This article explores the V8 JavaScript engine’s architecture, from its historical origins and source‑code acquisition to its loading strategies, lexical analysis, parsing, compilation, and execution optimizations, illustrating how V8 achieves high performance in browsers and Node.js.

CompilationEngineJIT
0 likes · 23 min read
How V8 Supercharges JavaScript: Inside the Engine’s Magic
Aotu Lab
Aotu Lab
Sep 24, 2021 · Frontend Development

Accelerate Frontend Development with esbuild, Treemap, XState, TypeScript & V8

This article explores how to speed up Webpack builds with esbuild-loader, implements dynamic treemap visualizations for NetEase Cloud Music’s social voting feature, introduces XState’s finite‑state‑machine approach to state management, explains the inner workings of TypeScript, and provides a deep dive into the V8 JavaScript engine.

State ManagementTypeScriptV8
0 likes · 7 min read
Accelerate Frontend Development with esbuild, Treemap, XState, TypeScript & V8
Node Underground
Node Underground
Sep 11, 2021 · Backend Development

Why Node.js vm Triggers OOM in V8: Hidden Compilation Cache Pitfalls

This article explains how frequent use of Node.js's vm module can cause out‑of‑memory crashes in V8 due to an uncollected compilation cache, the role of the --always‑promote‑young‑mc flag, and practical work‑arounds for Node.js 12, 14 and 16.

Compilation CacheGarbage CollectionNode.js
0 likes · 16 min read
Why Node.js vm Triggers OOM in V8: Hidden Compilation Cache Pitfalls
ByteDance Web Infra
ByteDance Web Infra
Aug 20, 2021 · Backend Development

In‑Depth Guide to Node.js Inspector: Usage, Principles, and Implementation

This article provides a comprehensive tutorial on using Node.js Inspector for local and remote debugging, automatic detection, data collection (heap snapshots and CPU profiles), dynamic activation, and a detailed walkthrough of its internal architecture and communication flow between the client, WebSocket, and V8 Inspector.

InspectorNode.jsProfiling
0 likes · 22 min read
In‑Depth Guide to Node.js Inspector: Usage, Principles, and Implementation
Taobao Frontend Technology
Taobao Frontend Technology
Aug 18, 2021 · Frontend Development

How VS Code Achieves Lightning‑Fast Startup: Front‑End Performance Secrets

This article summarizes the CovalenceConf 2019 talk on VS Code’s startup performance, detailing measurement practices, code‑size reductions, lifecycle re‑ordering, V8 code caching, requestIdleCallback usage, and perceived‑performance tricks that together shrink launch time from seconds to under one second.

ElectronJavaScriptStartup Performance
0 likes · 17 min read
How VS Code Achieves Lightning‑Fast Startup: Front‑End Performance Secrets
Alibaba Terminal Technology
Alibaba Terminal Technology
Aug 5, 2021 · Frontend Development

How VS Code Achieves Sub‑Second Startup: Secrets from CovalenceConf 2019

This article summarizes the key techniques presented at CovalenceConf 2019 for optimizing Visual Studio Code's startup performance, covering measurement, bundling, V8 code caching, lifecycle phase ordering, requestIdleCallback, and perceived‑performance tricks that together reduce launch time to under one second.

ElectronStartup PerformanceV8
0 likes · 13 min read
How VS Code Achieves Sub‑Second Startup: Secrets from CovalenceConf 2019
ByteFE
ByteFE
Jun 28, 2021 · Fundamentals

How V8 Executes JavaScript: From Source Code to Optimized Machine Code

This article explains the complete lifecycle of JavaScript execution in the V8 engine, covering language fundamentals, AST generation, bytecode compilation, interpretation, just‑in‑time optimization, hidden classes, inline caches, and other performance strategies used by both browsers and Node.js.

EngineHiddenClassJIT
0 likes · 15 min read
How V8 Executes JavaScript: From Source Code to Optimized Machine Code
Taobao Frontend Technology
Taobao Frontend Technology
Jun 16, 2021 · Frontend Development

What’s New in Electron 12 & 13? Key Features, APIs, and Code Samples

This article reviews the latest Electron 12 and 13 releases, highlighting new BrowserWindow options, session storage paths, moved APIs, Node.js promise‑based file system methods, V8 enhancements, contextBridge isolation, webFrameMain, menu sharing, async trash handling, spellcheck updates, net module additions, and breaking changes such as the removal of the Remote module and Flash support.

Desktop AppsElectronNode.js
0 likes · 10 min read
What’s New in Electron 12 & 13? Key Features, APIs, and Code Samples
政采云技术
政采云技术
Jun 8, 2021 · Frontend Development

The Process of Executing JavaScript in V8

This article explains how the V8 engine parses JavaScript into an AST, generates bytecode, employs lazy compilation, caches machine code, and uses the TurboFan optimizing compiler with JIT techniques to balance speed and memory consumption during script execution.

EngineJITV8
0 likes · 12 min read
The Process of Executing JavaScript in V8
21CTO
21CTO
May 29, 2021 · Frontend Development

How Google’s Sparkplug Compiler Boosts Chrome Performance by 23%

Google’s new Sparkplug compiler for the V8 engine, introduced in Chrome 91, claims to cut CPU usage by the equivalent of 17 years per day and deliver a 23% speed boost, promising faster web experiences for all Chromium‑based browsers.

ChromeJavaScriptV8
0 likes · 4 min read
How Google’s Sparkplug Compiler Boosts Chrome Performance by 23%
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 25, 2021 · Frontend Development

Mastering TypeScript: Data Types, Advanced Features, and V8 Performance Hacks

This article explores JavaScript and TypeScript data types, explains how TypeScript enhances code robustness with interfaces and generics, examines common JavaScript pitfalls, and demonstrates how V8’s TurboFan compiler and type‑consistent code can dramatically improve performance, complemented by practical TypeScript tips and advanced type utilities.

JavaScriptTypeScriptV8
0 likes · 15 min read
Mastering TypeScript: Data Types, Advanced Features, and V8 Performance Hacks
JavaScript
JavaScript
Apr 21, 2021 · Backend Development

What’s New in Node.js 16.0.0? Key Updates and Features

Node.js 16.0.0, built on the V8 engine, introduces a stabilized Timers Promises API, Apple Silicon pre‑built binaries, V8 9.0 upgrades, global btoa/atob functions, and npm 7.10.0, marking a significant step forward for JavaScript runtime performance and compatibility.

Apple SiliconBackendV8
0 likes · 1 min read
What’s New in Node.js 16.0.0? Key Updates and Features
ByteFE
ByteFE
Apr 9, 2021 · Frontend Development

Must‑Read JavaScript & Performance Insights: From V8 Optimization to Mobile Startup

This curated guide presents concise technical deep‑dives into JavaScript protection, pagination techniques, Babel async/await transformation, Web Worker sandboxing, V8 engine tuning, React Native launch optimization, collaborative editing algorithms, Windows defragmentation, CLS metric evolution, accessible UI components, and future‑proof CSS strategies.

JavaScriptMobile DevelopmentReact Native
0 likes · 4 min read
Must‑Read JavaScript & Performance Insights: From V8 Optimization to Mobile Startup
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Mar 22, 2021 · Frontend Development

Unlocking V8: Deep Dive into JavaScript Engine Mechanics and Interview Secrets

This article explores V8’s architecture—from its host integration and bytecode compilation to hidden classes, inline caches, and garbage collection—providing interview‑ready insights, performance optimization techniques, and practical code examples that illuminate how JavaScript executes efficiently in browsers and Node.js.

Hidden ClassesInterview PreparationJavaScript Engine
0 likes · 17 min read
Unlocking V8: Deep Dive into JavaScript Engine Mechanics and Interview Secrets
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 17, 2021 · Backend Development

Analyzing Node.js .heapsnapshot Files and Using heapquery for Memory‑Leak Investigation

The article shows how to generate a Node.js V8 heap snapshot with v8.getHeapSnapshot, explains the JSON‑like .heapsnapshot structure of nodes, edges, and strings, and demonstrates using the heapquery tool to import the data into SQLite for SQL queries that locate and trace memory‑leaking objects such as a HugeObj instance.

HeapSnapshotNode.jsV8
0 likes · 17 min read
Analyzing Node.js .heapsnapshot Files and Using heapquery for Memory‑Leak Investigation
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Mar 15, 2021 · Frontend Development

Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting

This article investigates why JavaScript's Object.keys() may return keys in an unexpected order, explains the specification‑defined sorting rules for integer and string properties, demonstrates the issue with timestamp tags on iOS and Android, and explores the actual implementations in QuickJS and V8 engines.

JavaScriptObject.keysQuickJS
0 likes · 16 min read
Why Object.keys() Doesn’t Preserve Insertion Order: A Deep Dive into JavaScript Engine Sorting
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Mar 3, 2021 · Frontend Development

Mastering JavaScript Memory Management: GC Algorithms and Performance Tips

Understanding how JavaScript manages memory, this article explains garbage collection concepts such as Stop‑The‑World pauses, reference counting, mark‑sweep, mark‑compact, incremental marking, and V8’s generational strategies, while offering practical code examples and optimization techniques to prevent leaks and improve performance.

Garbage CollectionJavaScriptMemory Management
0 likes · 14 min read
Mastering JavaScript Memory Management: GC Algorithms and Performance Tips
Taobao Frontend Technology
Taobao Frontend Technology
Dec 30, 2020 · Frontend Development

Why Assigning Beyond Array Length Saves Memory in V8

An in‑depth analysis shows why assigning a value at index 99999 in a large JavaScript array triggers V8 to switch from fast to slow (dictionary) mode, dramatically reducing memory usage by expanding capacity and converting holey arrays into a more efficient storage structure.

ArrayJavaScriptMemory Optimization
0 likes · 5 min read
Why Assigning Beyond Array Length Saves Memory in V8
政采云技术
政采云技术
Dec 22, 2020 · Frontend Development

V8 Engine Garbage Collection and Memory Allocation

This article explains the architecture of browser engines, the distinction between stack and heap memory, V8's generational garbage collection strategies—including the Scavenge algorithm for the young generation and mark‑sweep/mark‑compact for the old generation—along with optimizations such as write barriers, incremental marking, and parallel/concurrent collection.

Garbage CollectionJavaScript EngineMemory Management
0 likes · 13 min read
V8 Engine Garbage Collection and Memory Allocation
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 1, 2020 · Frontend Development

How V8 Worker Transforms Alipay Mini‑Program Performance

This article explains the evolution from Service Worker to V8 Worker in Alipay mini‑programs, detailing the architecture, V8 engine integration, JSI bridging, security isolation, multi‑context and multi‑isolate designs, performance optimizations such as parallel initialization and code caching, and how these advances improve startup speed and runtime efficiency.

Alipay Mini ProgramJSIV8
0 likes · 23 min read
How V8 Worker Transforms Alipay Mini‑Program Performance
Tencent Cloud Middleware
Tencent Cloud Middleware
Mar 20, 2020 · Fundamentals

Why the Second Call to a JavaScript Constructor Is Slower: Inside V8’s Inline Caches

An in‑depth analysis of V8’s Inline Cache mechanism shows how hidden classes, map transitions, type‑feedback vectors, and the IC state machine cause the second invocation of a JavaScript constructor to be slower than the first, while the third becomes faster, explaining performance variations in property accesses.

Hidden ClassesIC State MachineInline Cache
0 likes · 12 min read
Why the Second Call to a JavaScript Constructor Is Slower: Inside V8’s Inline Caches
vivo Internet Technology
vivo Internet Technology
Feb 27, 2020 · Backend Development

Node.js: History, Core Technologies, and Current Landscape

Node.js, a JavaScript runtime built on Chrome’s V8 engine, originated in 2009 when Ryan Dahl applied event‑driven, asynchronous I/O to achieve high‑concurrency server‑side performance, and has since grown into a widely adopted platform—supported by npm, governed by the OpenJS Foundation, and used for scalable I/O‑intensive web, enterprise, and data applications despite challenges like callback complexity and package‑registry incidents.

BackendNode.jsV8
0 likes · 15 min read
Node.js: History, Core Technologies, and Current Landscape
vivo Internet Technology
vivo Internet Technology
Dec 11, 2019 · Fundamentals

An Introduction to V8 JavaScript Engine Architecture and Bytecode Execution

The article introduces V8’s architecture, tracing its shift from the memory‑heavy Full‑Codegen and Crankshaft compilers to the modern Ignition bytecode interpreter and TurboFan optimizing compiler, and explains how lexical analysis, AST parsing, bytecode generation, and runtime feedback together boost startup speed and reduce memory usage.

IgnitionJavaScript EngineTurboFan
0 likes · 11 min read
An Introduction to V8 JavaScript Engine Architecture and Bytecode Execution
Node Underground
Node Underground
Nov 16, 2019 · Frontend Development

How V8 Optimizes async/await: Cutting Microtasks for Faster JavaScript

This article explains how V8 reduces the number of microtasks created by async/await by eliminating redundant Promise wrappers and streamlining then‑handlers, showing the original transformation code, the optimizations applied, and the resulting execution order in both browsers and Node.js.

JavaScript optimizationNode.jsV8
0 likes · 5 min read
How V8 Optimizes async/await: Cutting Microtasks for Faster JavaScript
WecTeam
WecTeam
Nov 5, 2019 · Fundamentals

Unlocking V8: How JavaScript Is Parsed and Optimized for Speed

This article explains how Google's V8 engine parses JavaScript, distinguishes eager and lazy parsing, inlines functions, manages object hidden classes, and offers practical optimization tips to improve runtime performance in Chrome, Node.js, and Edge.

EngineJavaScriptV8
0 likes · 11 min read
Unlocking V8: How JavaScript Is Parsed and Optimized for Speed
Node Underground
Node Underground
Nov 4, 2019 · Backend Development

How V8 Optimizes Async/Await: Performance Boosts from Node 8 to 12

This article explains how V8’s compiler, garbage collector, and a bug‑inspired optimization improve async/await performance across Node.js versions, detailing benchmark results, code behavior differences, and the engine’s internal steps for handling await.

Node.jsV8await
0 likes · 5 min read
How V8 Optimizes Async/Await: Performance Boosts from Node 8 to 12
Node Underground
Node Underground
Sep 22, 2019 · Fundamentals

How V8 Lite Cuts Memory Usage by Up to 22% with Smart Optimizations

V8 Lite, introduced by the V8 team in late 2018, implements a series of memory‑saving techniques—such as lazy feedback allocation, delayed source positions, and bytecode flushing—that together can reduce heap usage by roughly 22% in memory‑constrained scenarios while maintaining acceptable execution performance.

JavaScript EngineLite modeMemory Optimization
0 likes · 3 min read
How V8 Lite Cuts Memory Usage by Up to 22% with Smart Optimizations
System Architect Go
System Architect Go
Sep 18, 2019 · Fundamentals

Understanding How JavaScript Works: Optimizing the V8 JIT Compiler

This article explains the three-stage execution process of JavaScript in V8, compares interpreter and compiler approaches, describes how the JIT combines their strengths, and provides practical tips for writing JavaScript that maximizes performance by leveraging V8’s optimization mechanisms.

JITJavaScriptV8
0 likes · 6 min read
Understanding How JavaScript Works: Optimizing the V8 JIT Compiler
Node Underground
Node Underground
Sep 13, 2019 · Backend Development

Deep Dive into Node.js Runtime: Optimization, V8 Tweaks, and Serverless Insights

This article recaps a hardcore Node.js underground salon where experts explored runtime optimization, V8 engine enhancements, Alinode monitoring, fork(2) performance tricks, and core startup processes, highlighting practical insights for Serverless, IoT, and high‑performance backend development.

Node.jsRuntime OptimizationServerless
0 likes · 5 min read
Deep Dive into Node.js Runtime: Optimization, V8 Tweaks, and Serverless Insights
Sohu Tech Products
Sohu Tech Products
Aug 7, 2019 · Frontend Development

Electron 6.0.0 Release Highlights and Updates

Electron 6.0.0 introduces updated Chromium 76, Node.js 12.4.0, V8 7.6, extensive Promise‑based API enhancements, new helper app signing requirements, deprecation of the 3.x.y line, and outlines future release plans, providing developers with the latest JavaScript features, performance improvements, and security fixes.

APIChromiumElectron
0 likes · 7 min read
Electron 6.0.0 Release Highlights and Updates
Node Underground
Node Underground
Aug 3, 2019 · Backend Development

How V8 Code Cache Supercharges Node.js Startup Times

This article explains the background, implementation, and practical usage of V8's code cache in browsers and Node.js, showing how serialized bytecode reduces JIT compilation overhead, speeds up startup, and benefits serverless functions.

Node.jsV8backend-development
0 likes · 9 min read
How V8 Code Cache Supercharges Node.js Startup Times
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 12, 2019 · Fundamentals

Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop

This article explains the evolution of Google V8's Promise implementation, details the JavaScript single‑threaded event loop with macro‑ and micro‑tasks, describes various programming models, and walks through the internal V8 code that realizes Promise construction, chaining, and utility methods such as Promise.all and Promise.race.

AsyncJavaScriptPromise
0 likes · 10 min read
Understanding Google V8 Engine Promise Implementation and the JavaScript Event Loop
Weidian Tech Team
Weidian Tech Team
Jul 12, 2019 · Fundamentals

Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code

This article explains how the V8 JavaScript engine generates machine code for floating‑point addition on Intel x64, covering V8’s architecture, the IEEE‑754 representation that causes precision loss, and a step‑by‑step analysis of the relevant C++ source and the resulting addsd instruction.

JavaScriptMachine CodeV8
0 likes · 12 min read
Why JavaScript Float Addition Is Inaccurate: Inside V8’s Machine Code
Node Underground
Node Underground
Jul 9, 2019 · Backend Development

Mastering Node.js Garbage Collection: Detect and Prevent Memory Leaks

This article explains how Node.js relies on the V8 engine for automatic memory management, details the garbage‑collection mechanisms (Scavenge, Mark‑Sweep, Mark‑Compact), shows practical code for monitoring and forcing GC, illustrates common memory‑leak patterns, and recommends tools for diagnosing and fixing leaks.

Garbage CollectionNode.jsV8
0 likes · 20 min read
Mastering Node.js Garbage Collection: Detect and Prevent Memory Leaks
360 Tech Engineering
360 Tech Engineering
May 14, 2019 · Frontend Development

What’s New in JavaScript: V8 Performance Boosts and New Language Features

The article summarizes the latest JavaScript enhancements presented by the V8 team at Google I/O, covering massive async performance gains, new engine components like TurboFan and Orinoco, and a suite of language features such as class fields, private members, numeric separators, bigint, extended Intl APIs, top‑level await, Promise.allSettled/any, and WeakRef, illustrated with practical code examples.

AsyncJavaScriptPromise
0 likes · 12 min read
What’s New in JavaScript: V8 Performance Boosts and New Language Features
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2019 · Frontend Development

Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework

The paper presents a custom JavaScript automatic binding tool for iQIYI’s React Node Desktop framework that parses C++ headers with libclang, applies user‑written YAML rules, generates multi‑inheritance‑aware wrappers via the Mate abstraction, and abstracts engine specifics through a Node‑Addon‑API‑based common layer to support both V8 and JavaScriptCore.

BindingC++JavaScript
0 likes · 24 min read
Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework
Node Underground
Node Underground
Nov 29, 2018 · Backend Development

Boost Node.js Performance: 8 Proven Techniques for Faster Apps

This article presents eight practical strategies—including upgrading Node.js, leveraging fast-json-stringify, optimizing promises, tuning V8 GC, using streams correctly, and employing node‑clinic tools—to dramatically improve the performance and scalability of Node.js applications.

JSONNode.jsStream
0 likes · 21 min read
Boost Node.js Performance: 8 Proven Techniques for Faster Apps