Tagged articles
15 articles
Page 1 of 1
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
Tencent Cloud Developer
Tencent Cloud Developer
Dec 23, 2022 · Frontend Development

Optimizing Hippy Startup Performance by Switching JavaScript Engines in QQ Browser

By replacing the default JavaScriptCore engine with Hermes for Hippy’s UI rendering in QQ Browser, the team cut module load time by 70‑80 %, lowered first‑frame latency and crash rate, kept memory usage comparable, and leveraged Hermes’s bytecode support and React‑Native ecosystem to dramatically improve startup performance.

HermesHippyJS Runtime
0 likes · 15 min read
Optimizing Hippy Startup Performance by Switching JavaScript Engines in QQ Browser
Manbang Technology Team
Manbang Technology Team
Dec 9, 2021 · Mobile Development

Thresh: Enhancing Mobile App Performance with Flutter-Based Dynamicization and JSI Integration

Thresh is a Flutter-based cross-platform dynamic solution for frontend developers that integrates the JavaScript Engine Interface (JSI) to streamline communication between JavaScript and Dart, reducing serialization overhead and thread switching, thereby improving startup and rendering performance on mobile devices.

Cross‑platformFlutterJSI
0 likes · 16 min read
Thresh: Enhancing Mobile App Performance with Flutter-Based Dynamicization and JSI Integration
Didi Tech
Didi Tech
May 17, 2021 · Backend Development

Implementation of JSValue in JavaScript Engines: Tagged, Boxing, and Pointer Techniques

The article surveys how major JavaScript engines represent the dynamic JSValue type—using QuickJS’s tagged unions, JavaScriptCore’s NaN‑boxing, SpiderMonkey’s nun‑/pun‑boxing, V8’s tagged pointers with compression, and iOS’s Objective‑C pointer tags—explaining each scheme’s memory layout, performance trade‑offs, and design rationale.

JSValueJavaScript EngineMemory Optimization
0 likes · 11 min read
Implementation of JSValue in JavaScript Engines: Tagged, Boxing, and Pointer Techniques
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
政采云技术
政采云技术
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
Youzan Coder
Youzan Coder
Jan 19, 2020 · Frontend Development

Cross-Platform Order Discount Calculation Framework: Design and Implementation

The Youzan retail team built a cross‑platform order discount calculation framework, evolving from JavaScript to a TypeScript‑based design that unifies online and offline scenarios, employs domain models, activity‑mutual‑exclusion graphs, and performance optimizations, delivering up to four‑fold productivity gains and consistent, high‑accuracy discount processing across all client platforms.

Domain ModelingHot UpdateJavaScript Engine
0 likes · 18 min read
Cross-Platform Order Discount Calculation Framework: Design and Implementation
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
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
Youzan Coder
Youzan Coder
Dec 7, 2018 · Mobile Development

Cross-Platform Receipt Printing Solution for Retail Applications

The article outlines a cross‑platform receipt‑printing solution for retail apps that uses JavaScript‑based parsing, server‑editable templates, and native JS engines on iOS and Android to dynamically manage diverse printer models, reduce maintenance, and enable fast template updates across iOS, Android, and web.

AndroidJavaScript EngineMobile Development
0 likes · 13 min read
Cross-Platform Receipt Printing Solution for Retail Applications
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