Tag

JSValue

1 views collected around this technical thread.

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
Qunar Tech Salon
Qunar Tech Salon
Sep 7, 2018 · Mobile Development

Understanding JavaScriptCore in iOS: Architecture, Components, and Integration

This article explains the role of JavaScriptCore in iOS development, covering its origins in WebKit, the internal architecture of JSCore—including lexer, parser, LLInt and JIT—its key features, and how developers can use JSContext, JSValue, and JSExport to bridge Objective‑C and JavaScript for hybrid applications.

Hybrid DevelopmentJSContextJSValue
0 likes · 30 min read
Understanding JavaScriptCore in iOS: Architecture, Components, and Integration
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 11, 2017 · Mobile Development

Unlocking iOS Power: Mastering JavaScriptCore for Seamless JS Integration

This article explores how JavaScript has become integral to client‑side development, introduces the JavaScriptCore framework that enables iOS apps to execute JavaScript, and provides detailed guidance on its architecture, core classes, concurrency model, object bridging, memory management, and error handling.

JSContextJSValueJavaScriptCore
0 likes · 23 min read
Unlocking iOS Power: Mastering JavaScriptCore for Seamless JS Integration