Tag

Execution Context

1 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Jul 14, 2022 · Fundamentals

Implementation Details of Scheduler and Context in libunifex (CPU Thread Execution Context)

The article explains libunifex’s CPU‑thread scheduler architecture, detailing how a lightweight scheduler wraps a manual_event_loop execution context with a mutex‑protected FIFO task queue, how operations bridge receivers to the context, and outlines various thread‑bound and platform‑specific scheduler variants.

C++ConcurrencyExecution Context
0 likes · 16 min read
Implementation Details of Scheduler and Context in libunifex (CPU Thread Execution Context)
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Nov 29, 2021 · Fundamentals

Why JavaScript’s with Statement Can Leak Data and Slow Down Your Code

This article explains how the JavaScript with statement creates a new lexical scope that can unintentionally create global variables, cause data leakage, and dramatically degrade performance, while also covering LHS/RHS lookup, execution contexts, variable/activation objects, and scope chain mechanics.

Execution ContextJavaScriptLHS
0 likes · 8 min read
Why JavaScript’s with Statement Can Leak Data and Slow Down Your Code
Yuewen Frontend Team
Yuewen Frontend Team
Nov 5, 2018 · Frontend Development

Master JavaScript Execution Contexts and Call Stack: A Deep Dive

This article explains how JavaScript execution contexts and the call stack work, covering their types, creation and execution phases, this binding, lexical and variable environments, and includes code examples to illustrate these core concepts for developers.

Call StackExecution ContextJavaScript
0 likes · 13 min read
Master JavaScript Execution Contexts and Call Stack: A Deep Dive
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 4, 2017 · Frontend Development

Mastering JavaScript’s this: When, Why, and How It Changes

This article provides a comprehensive, step‑by‑step explanation of JavaScript’s this binding, covering execution context, global and function scopes, strict mode nuances, call/apply usage, and constructor behavior, all illustrated with clear diagrams and code examples.

CALLExecution ContextJavaScript
0 likes · 13 min read
Mastering JavaScript’s this: When, Why, and How It Changes
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 30, 2017 · Frontend Development

Understanding JavaScript Variable Objects: From Creation to Execution

This article explains how JavaScript creates and uses the Variable Object during the creation and execution phases of an execution context, covering arguments, function and variable declarations, hoisting, scope chain, and the relationship with the global window object.

Execution ContextJavaScriptScope Chain
0 likes · 6 min read
Understanding JavaScript Variable Objects: From Creation to Execution
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Apr 27, 2017 · Fundamentals

How JavaScript Execution Contexts and Call Stack Shape Your Code

This article explains JavaScript's execution contexts—including global, function, and eval—how they are pushed onto and popped from the call stack, and why understanding this single‑threaded, synchronous process is essential for mastering core front‑end development concepts.

Call StackExecution ContextFundamentals
0 likes · 6 min read
How JavaScript Execution Contexts and Call Stack Shape Your Code
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 18, 2016 · Frontend Development

Mastering Zone.js: Isolate Execution Contexts and Run Multiple jQuery Versions

This article explains how Zone.js, the core Angular 2 component inspired by NodeJS Domain and Dart Zone, can be used to manage execution contexts for both synchronous and asynchronous code, enabling advanced scenarios such as running different jQuery versions side‑by‑side in a single application.

AngularExecution ContextZone.js
0 likes · 8 min read
Mastering Zone.js: Isolate Execution Contexts and Run Multiple jQuery Versions