Tagged articles
13 articles
Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Jan 2, 2026 · Fundamentals

8 Powerful Asynchronous Patterns Every Developer Should Master

Async programming boosts efficiency by allowing tasks to run while waiting for I/O, and this guide explores eight common implementations—callbacks, Promises, async/await, event emitters, generators, coroutines, ReactiveX, and the Actor model—detailing their advantages, drawbacks, suitable scenarios, and production‑grade best practices.

AsyncCoroutinesactor-model
0 likes · 10 min read
8 Powerful Asynchronous Patterns Every Developer Should Master
JavaScript
JavaScript
Apr 11, 2025 · Frontend Development

Boost JavaScript Async Performance by Up to 80% with New Patterns

This article examines the performance drawbacks of JavaScript's async/await, introduces optimized Promise chaining, parallel execution with Promise.all, batch processing, and a Promise pooling technique, and presents benchmark results showing up to 80% speed improvements in various asynchronous scenarios.

AsyncJavaScriptPromise
0 likes · 5 min read
Boost JavaScript Async Performance by Up to 80% with New Patterns
Test Development Learning Exchange
Test Development Learning Exchange
Oct 14, 2024 · Fundamentals

Understanding async and await in Python with Practical Examples

This article introduces Python's async and await keywords, explains how they enable coroutine programming, and provides multiple practical examples including simple coroutine definitions, awaiting tasks, concurrent execution with asyncio.gather, HTTP requests using aiohttp, and resource management with custom coroutine-based managers.

AsyncPythonasyncio
0 likes · 6 min read
Understanding async and await in Python with Practical Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2023 · Frontend Development

Elegant Handling of async/await Exceptions in JavaScript

This article examines why try‑catch is often overused for async/await errors, outlines common scenarios that cause request failures, and presents two cleaner alternatives—using Promise .catch with conditional logic and the lightweight await‑to‑js utility—to simplify error handling and reduce code redundancy.

AsyncError HandlingJavaScript
0 likes · 7 min read
Elegant Handling of async/await Exceptions in JavaScript
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Dec 2, 2021 · Fundamentals

Master C++20 Coroutines: From Basics to Advanced Examples

This article walks through C++20 coroutines with clear explanations, three runnable examples, deep dives into promise_type, coroutine_handle, co_await, co_yield and co_return, and shows how to build both void‑returning and int‑returning coroutines while illustrating the compiler‑generated control flow.

C++C++20Coroutines
0 likes · 21 min read
Master C++20 Coroutines: From Basics to Advanced Examples
Python Programming Learning Circle
Python Programming Learning Circle
Sep 11, 2021 · Fundamentals

A Comparative Overview of Python and JavaScript Coroutines

This article compares the evolution, concepts, and practical implementations of coroutines in Python and JavaScript, explaining their histories, core mechanisms such as async/await, event loops, and providing side‑by‑side code examples to help newcomers understand asynchronous programming in both languages.

AsyncPythonawait
0 likes · 15 min read
A Comparative Overview of Python and JavaScript Coroutines
ByteFE
ByteFE
Apr 25, 2021 · Fundamentals

Understanding ECMAScript Grammar: Lexical, Syntactic, and Identifier Rules

This article examines the four ECMAScript grammars—lexical, syntactic, regular‑expression, and numeric‑string—explains how context‑free productions define tokens, shows ambiguous cases such as the '/' and '`' characters, and details why the identifier await is prohibited in async functions through static‑semantic rules.

ECMAScriptLexicalawait
0 likes · 13 min read
Understanding ECMAScript Grammar: Lexical, Syntactic, and Identifier Rules
ByteFE
ByteFE
Apr 22, 2021 · Frontend Development

Understanding ECMAScript Grammars: Lexical and Syntactic Rules and the Disallowance of await as an Identifier

This article explains how the ECMAScript specification defines four context‑free grammars—lexical, syntactic, RegExp, and numeric string—illustrates ambiguities such as the '/' token and template literals, and shows how static semantics forbid using the await keyword as an identifier inside async functions while allowing it elsewhere.

ECMAScriptSyntacticawait
0 likes · 15 min read
Understanding ECMAScript Grammars: Lexical and Syntactic Rules and the Disallowance of await as an Identifier
Node Underground
Node Underground
Nov 4, 2019 · Backend Development

How V8 Optimizes Async/Await: Performance Boosts from Node 8 to 12

This article explains how V8’s compiler, garbage collector, and a bug‑inspired optimization improve async/await performance across Node.js versions, detailing benchmark results, code behavior differences, and the engine’s internal steps for handling await.

Node.jsV8await
0 likes · 5 min read
How V8 Optimizes Async/Await: Performance Boosts from Node 8 to 12