Tagged articles
126 articles
Page 2 of 2
Youzan Coder
Youzan Coder
Oct 19, 2018 · Fundamentals

Understanding NaN in JavaScript: Representation and Comparison

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.

C libraryJavaScriptNaN
0 likes · 8 min read
Understanding NaN in JavaScript: Representation and Comparison
UC Tech Team
UC Tech Team
Oct 16, 2018 · Frontend Development

Highlights of V8 7.0 Release: Embedded Built‑ins, WebAssembly Threads, New JavaScript Features, and API Changes

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.

ChromeEmbedded BuiltinsJavaScript
0 likes · 5 min read
Highlights of V8 7.0 Release: Embedded Built‑ins, WebAssembly Threads, New JavaScript Features, and API Changes
UC Tech Team
UC Tech Team
Sep 30, 2018 · Backend Development

Rethinking JavaScript Test Coverage with V8 and Node.js

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.

JavaScriptNode.jsV8
0 likes · 8 min read
Rethinking JavaScript Test Coverage with V8 and Node.js
UC Tech Team
UC Tech Team
Sep 20, 2018 · Fundamentals

A Decade of V8: Milestones, Performance Evolution, and Future Outlook

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.

ChromeEngine EvolutionJavaScript Engine
0 likes · 13 min read
A Decade of V8: Milestones, Performance Evolution, and Future Outlook
360 Tech Engineering
360 Tech Engineering
Apr 28, 2018 · Backend Development

Weekly Tech Digest: Large‑Scale JavaScript Architecture, Secure Node.js Sandboxing, V8 Updates, and Cross‑Platform CRNWEB

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.

JavaScriptNode.jsPWA
0 likes · 4 min read
Weekly Tech Digest: Large‑Scale JavaScript Architecture, Secure Node.js Sandboxing, V8 Updates, and Cross‑Platform CRNWEB
Node Underground
Node Underground
May 2, 2017 · Backend Development

Why Node.js 8.0 LTS Was Delayed and What the V8 5.9 Upgrade Brings

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.

IgnitionNode.jsRelease Delay
0 likes · 2 min read
Why Node.js 8.0 LTS Was Delayed and What the V8 5.9 Upgrade Brings
Node Underground
Node Underground
Apr 7, 2017 · Backend Development

How Ignition and TurboFan Revolutionize Node.js Performance

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.

IgnitionNode.jsTurboFan
0 likes · 2 min read
How Ignition and TurboFan Revolutionize Node.js Performance
Hujiang Technology
Hujiang Technology
Mar 24, 2017 · Backend Development

Understanding the Startup Process of Node.js

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.

C++ addonJavaScriptNode.js
0 likes · 9 min read
Understanding the Startup Process of Node.js
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 4, 2017 · Frontend Development

Why JavaScript Parsing Slows Your Site and How to Speed It Up

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.

CompilationJavaScriptV8
0 likes · 15 min read
Why JavaScript Parsing Slows Your Site and How to Speed It Up
Node Underground
Node Underground
Dec 8, 2016 · Backend Development

What New V8 Features and Optimizations Does Node.js v7 Bring?

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.

BackendECMAScriptNode.js
0 likes · 4 min read
What New V8 Features and Optimizations Does Node.js v7 Bring?
Node Underground
Node Underground
Oct 24, 2016 · Backend Development

Unlocking Node.js v7: How async/await Simplifies Asynchronous Code

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.

BackendNVMNode.js
0 likes · 3 min read
Unlocking Node.js v7: How async/await Simplifies Asynchronous Code
Node Underground
Node Underground
Sep 20, 2016 · Backend Development

Mastering Asynchronous Callbacks in Node.js C++ Addons with NAN

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.

C++ addonNaNNode.js
0 likes · 1 min read
Mastering Asynchronous Callbacks in Node.js C++ Addons with NAN
Node Underground
Node Underground
May 9, 2016 · Backend Development

Master Node.js Memory Leak Detection: A Step-by-Step Guide

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.

Node.jsV8debugging
0 likes · 12 min read
Master Node.js Memory Leak Detection: A Step-by-Step Guide
Aotu Lab
Aotu Lab
Apr 29, 2016 · Frontend Development

How to Control JavaScript Randomness: Seeded Random Numbers and V8 Implementation

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.

V8codewarspseudo-random
0 likes · 7 min read
How to Control JavaScript Randomness: Seeded Random Numbers and V8 Implementation
21CTO
21CTO
Oct 12, 2015 · Backend Development

Why Your JavaScript Functions Aren’t Optimized: V8 Performance Killers Explained

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.

Node.jsV8performance
0 likes · 13 min read
Why Your JavaScript Functions Aren’t Optimized: V8 Performance Killers Explained