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.
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.
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.
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.
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.
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.
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.
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.
This article explains how V8 and Node.js have optimized asynchronous JavaScript—moving from callbacks to promises to async/await—detailing performance gains, engine internals, task/microtask handling, zero‑cost async stack traces, and practical recommendations for developers.
JavaScript’s NaN represents undefined numeric results, appears when operations like Math.sqrt(-1) occur, has multiple binary forms, and is distinguished as Quiet or Signaling; because NaN !== NaN, comparisons rely on special checks such as isnan, with implementations varying across environments like V8 and Apple’s C library.
V8 7.0, released on October 15, introduces memory‑saving Embedded built‑ins across platforms, preview support for WebAssembly threads via chrome://flags, new JavaScript features such as Symbol.prototype.description and a stable Array.prototype.sort using TimSort, plus API changes accessible through git logs and checkout commands.
The article explains how Node.js now supports native V8 code‑coverage via the NODE_V8_COVERAGE environment variable, describes the limitations of traditional tools like Istanbul, outlines the benefits and challenges of using V8’s built‑in coverage, and provides practical steps and tools (c8, v8-to-istanbul) to generate readable coverage reports.
This article chronicles the ten‑year history of Google’s V8 JavaScript engine—from its secretive beginnings and open‑source launch to major performance improvements, benchmark trends, security challenges, and its expanding role in browsers, Node.js, and WebAssembly—highlighting key milestones and future directions.
This article explains Node.js's internal architecture—including the standard library, bindings, V8 engine, libuv I/O library, code structure, event loop, and concurrency model—providing a comprehensive overview for developers who want to master backend development with Node.
This newsletter highlights design principles for massive JavaScript applications, secure sandboxing techniques for Node.js, the latest Node.js 10 and V8 6.6 features, WebAssembly debugging, and the CRNWEB framework enabling a single codebase across React‑Native, web, and PWA platforms.
This article shares practical micro‑optimizations for the DataStax Node.js driver of Apache Cassandra, covering I/O aggregation, timer management, V8 CPU profiling, system‑call reduction, and careful use of ECMAScript features to double application throughput.
Node.js 8.0 LTS, slated for April, was postponed to May 30, 2017 to ensure stability as it integrates V8 5.9 with async/await, TurboFan compiler, and Ignition interpreter, promising significant performance gains but requiring extensive compatibility and bug‑fix testing.
The article explains how V8’s new Ignition bytecode interpreter and TurboFan optimizing compiler, enabled by Chrome 57, eliminate previous JavaScript performance pitfalls—such as try/catch, let/const, debugger, generators, and async functions—allowing Node.js to achieve significantly higher runtime speed.
This article explains how Node.js initializes by combining Google’s V8 engine with the libuv asynchronous I/O library, details the main function flow, event loop, thread pools, environment creation, module binding, and demonstrates exposing a C++ object to JavaScript via a native addon.
This article examines how JavaScript parsing, compilation, and execution dominate web page startup time, presents data from V8 runtime statistics across desktop and mobile browsers, and offers practical techniques—such as code splitting, script streaming, and code caching—to dramatically reduce launch delays.
Node.js v7 upgrades its V8 engine from version 5.1 to 5.4, introducing ECMAScript features like the exponentiation operator, Object.values/Object.entries, Object.getOwnPropertyDescriptors, and performance improvements such as reduced memory usage, faster garbage collection, and enhanced Promise handling.
This article explains how Node.js v7’s first RC introduces async/await support, demonstrates its usage with code examples, compares it to traditional Promise handling, and shows how to enable the feature via command‑line flags or nvm for a smoother asynchronous programming experience.
In October 2016, Node.js hit several milestones as version 7 introduced async/await support, version 0.10.x was discontinued, and Node.js v6 entered LTS, bringing V8 5.1 features that boosted developer productivity and earned rapid adoption among enterprises.
This article traces the origin of debugging from the historic moth incident, explains Chrome and Android remote debugging setup, permission constraints, and dives deep into V8's JavaScript debugging mechanisms such as Debugger.enable, getScriptSource, and setBreakpointByUrl.
This article explains how to effectively implement asynchronous callback methods in Node.js C++ addons, covering V8 version compatibility, data type conversion challenges, and leveraging the NAN library to simplify development while also providing useful reference links for further reading.
This article explains how to use Node.js C++ Addons and the V8 API to define, convert, and transfer JavaScript primitive and complex types to C++ and back, covering type inheritance, immutability, argument handling, and the role of NAN for version stability.
This article explains why Node.js applications can suffer memory leaks due to V8 garbage‑collection limits, describes V8 memory regions and GC types, and provides practical commands, monitoring tools, and a reproducible code example to identify and resolve leaks.
This article outlines a practical workflow for diagnosing and fixing memory leaks in Node.js applications, covering essential concepts of V8 garbage collection, recommended tooling such as devTool, heapdump, and memwatch, and detailed steps for reproducing issues, capturing heap snapshots, analyzing them, and applying fixes.
With the release of V8 5.1, Google adds preliminary WebAssembly support to Chrome 51, reviving hopes for near‑native web performance, while also boosting ES6 compatibility to 97%, and the article points readers to essential ES6 learning resources for modern front‑end development.
This article explains how JavaScript's Math.random works, why it lacks a built‑in seed, and shows practical ways to override or seed the function—including V8's internal algorithm, simple custom implementations, and real‑world use cases for reproducible randomness in web games.
Node.js 6.0, released six months after 5.0, brings a four‑fold boost in module loading, richer documentation, broader ES6 coverage via V8 5.0, improved Buffer and filesystem APIs, and stronger security, while IBM recommends staying on the LTS 4.x until October.
This article explains the technical details of Node.js CVE-2015-8027 and CVE-2015-6764 vulnerabilities, how they can be triggered through highWaterMark and HTTP UPGRADE misuse, and provides mitigation advice including version upgrades and Nginx filtering.
This guide reveals the common JavaScript patterns that prevent V8’s optimizing compiler from generating fast machine code, covering unsupported syntax, misuse of arguments, excessive switch cases, problematic for‑in loops, and infinite loops, and provides practical techniques to keep your Node.js code performant.
This article analyzes a Node.js buffer‑overflow vulnerability triggered by oversized UTF‑8 decoding, explains the underlying V8 call stack and key functions, demonstrates an exploit using crafted POST requests, and outlines the official security fix that adds proper bounds checking.