Tagged articles
77 articles
Page 1 of 1
IT Services Circle
IT Services Circle
May 11, 2026 · Fundamentals

Why a Single await Can Turn Half Your Project Red

The article explains how introducing a single async/await call can propagate through an entire codebase, turning many functions "red" and creating hidden performance and maintenance problems, while tracing the historical evolution of async programming, its pitfalls, and emerging alternatives like Java Loom and Zig.

Java LoomRustasync/await
0 likes · 13 min read
Why a Single await Can Turn Half Your Project Red
JavaScript
JavaScript
Jan 5, 2026 · Backend Development

Eliminate Nested try…catch: Go‑Style Error Handling for Async/Await

This article explains how the traditional try…catch pattern in JavaScript async/await can lead to deeply nested, hard‑to‑read code and introduces a Go‑inspired error‑handling helper that returns [error, data] tuples, flattening logic, reducing boilerplate, and improving readability.

Error HandlingGo styleJavaScript
0 likes · 7 min read
Eliminate Nested try…catch: Go‑Style Error Handling for Async/Await
JavaScript
JavaScript
Dec 25, 2025 · Frontend Development

Boost JavaScript Async Performance by Up to 80% with Advanced Promise Techniques

This article explains why async/await can introduce performance overhead, then presents four optimized Promise‑based patterns—including chain optimization, Promise.all parallelism, batch processing, and pooling—that can improve JavaScript asynchronous code speed by up to 80% in high‑frequency or large‑scale scenarios.

JavaScriptPromiseasync/await
0 likes · 5 min read
Boost JavaScript Async Performance by Up to 80% with Advanced Promise Techniques
JavaScript
JavaScript
Nov 14, 2025 · Frontend Development

Can You Replace try…catch with a Go‑Style Helper in JavaScript?

This article explains how async/await simplifies asynchronous JavaScript but still forces repetitive try…catch blocks, and introduces a Go‑inspired helper function that returns an [error, data] tuple to flatten error handling, improve readability, and work seamlessly with Promise.all.

Code RefactoringError HandlingGo style
0 likes · 8 min read
Can You Replace try…catch with a Go‑Style Helper in JavaScript?
JavaScript
JavaScript
Oct 31, 2025 · Frontend Development

Why forEach Is Losing Favor: Switch to for...of for Safer Async Loops

The article explains why Array.prototype.forEach is increasingly discouraged in modern JavaScript, especially when combined with async/await, and shows how replacing it with a for...of loop resolves asynchronous pitfalls, enables proper flow‑control statements, and improves code clarity.

/loopJavaScriptarray methods
0 likes · 5 min read
Why forEach Is Losing Favor: Switch to for...of for Safer Async Loops
JavaScript
JavaScript
Oct 25, 2025 · Frontend Development

Replace Nested try…catch with Go‑Style Error Handling in JavaScript

This article explains how async/await simplifies asynchronous JavaScript but still requires try…catch, and shows how to adopt Go‑style error handling with a tiny helper that returns [error, data] to flatten code, reduce boilerplate, and improve readability.

Error HandlingGo styleJavaScript
0 likes · 9 min read
Replace Nested try…catch with Go‑Style Error Handling in JavaScript
JavaScript
JavaScript
Oct 14, 2025 · Frontend Development

Boost JavaScript Async Performance by Up to 80% with New Promise Techniques

While async/await simplifies JavaScript code, it can introduce significant overhead in high‑frequency or compute‑heavy scenarios; this article introduces alternative async patterns—optimized Promise chaining, parallel Promise.all, batch processing, and pooling—that can reduce context switches and deliver performance gains of up to 80%.

JavaScriptParallelismPromise
0 likes · 5 min read
Boost JavaScript Async Performance by Up to 80% with New Promise Techniques
Code Mala Tang
Code Mala Tang
Oct 10, 2025 · Fundamentals

Why async/await Doesn’t Give You Concurrency – And How to Make It Work

Although Python’s async/await syntax lets you pause and resume functions, it alone doesn’t run tasks concurrently; you must explicitly schedule coroutines with tools like asyncio.create_task(), gather(), or TaskGroup, and understand when to use sequential versus concurrent execution to avoid common pitfalls.

async/awaitasyncioconcurrency
0 likes · 10 min read
Why async/await Doesn’t Give You Concurrency – And How to Make It Work
Python Programming Learning Circle
Python Programming Learning Circle
Sep 28, 2025 · Fundamentals

Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications

This comprehensive guide walks you through Python's evolution from simple generators using yield, through two‑way communication with yield expressions and generator delegation with yield from, to modern asynchronous programming with asyncio and async/await, including practical examples, performance comparisons, best practices, and common pitfalls.

GeneratorsPythonasync/await
0 likes · 17 min read
Master Python Async: From Generators and Yield to Async/Await and Real‑World Applications
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 25, 2025 · Fundamentals

Mastering Python Async: From Generators to Async/Await and Real-World Use Cases

Explore the evolution of Python asynchronous programming—from basic generators and yield expressions to advanced async/await syntax, including practical examples like network requests, file I/O, producer-consumer patterns, performance comparisons, error handling, and best-practice recommendations for efficient, scalable code.

GeneratorsPythonasync/await
0 likes · 16 min read
Mastering Python Async: From Generators to Async/Await and Real-World Use Cases
JavaScript
JavaScript
Sep 23, 2025 · Frontend Development

Transform Async/Await Error Handling with Go‑Style Patterns in JavaScript

This article explains how the traditional try...catch approach for async/await can lead to nested, hard‑to‑read code and introduces a Go‑style error‑handling helper that returns [error, data] tuples, flattening logic, reducing boilerplate, and improving readability when combined with Promise.all.

Error HandlingGo styleJavaScript
0 likes · 8 min read
Transform Async/Await Error Handling with Go‑Style Patterns in JavaScript
JavaScript
JavaScript
Sep 16, 2025 · Frontend Development

Boost JavaScript Async Performance: Up to 80% Faster Than async/await

This article explains why async/await can cause performance bottlenecks in JavaScript and introduces optimized Promise‑based techniques—such as chain optimization, Promise.all parallelism, batch processing, and pooling—that can improve async execution speed by up to 80% in specific scenarios.

JavaScriptParallelismPromise
0 likes · 4 min read
Boost JavaScript Async Performance: Up to 80% Faster Than async/await
JavaScript
JavaScript
Sep 7, 2025 · Frontend Development

Why forEach Is Losing Favor: Switch to for...of for Async JavaScript Loops

The article explains why Array.prototype.forEach is increasingly discouraged in modern JavaScript, especially with async/await, and demonstrates how replacing it with a for...of loop resolves async handling, break/continue control, and improves code clarity.

JavaScriptasync/awaitfor...of
0 likes · 6 min read
Why forEach Is Losing Favor: Switch to for...of for Async JavaScript Loops
JavaScript
JavaScript
Jul 20, 2025 · Frontend Development

What Does an async Function Actually Return? Uncover the Promise Mechanics

This article explains how async functions always return a Promise—whether they return a plain value, an explicit Promise, throw an error, or omit a return—detailing the automatic wrapping, unwrapping, and error handling mechanisms that underpin async/await in JavaScript.

Error HandlingJavaScriptPromise
0 likes · 6 min read
What Does an async Function Actually Return? Uncover the Promise Mechanics
Code Mala Tang
Code Mala Tang
Jul 18, 2025 · Backend Development

Unlock Lightning-Fast Node.js: 8 Proven Backend Performance Hacks

Discover why a sluggish API hurts user retention, SEO, and costs, and learn eight practical Node.js backend optimization techniques—including mastering the event loop, avoiding blocking code, leveraging async/await, offloading heavy tasks, efficient JSON handling, caching strategies, database tuning, clustering, and continuous monitoring—to boost performance and scalability.

Backend PerformanceNode.jsasync/await
0 likes · 8 min read
Unlock Lightning-Fast Node.js: 8 Proven Backend Performance Hacks
JavaScript
JavaScript
Jul 18, 2025 · Frontend Development

Why Does async/await Appear to Block Page Rendering? The Real Reason Explained

This article explains why using async/await inside a loop can make a page seem frozen, clarifies that await itself does not block the main thread, and shows how to replace serial awaits with Promise.all and other concurrency tools for truly non‑blocking UI updates.

JavaScriptPromiseasync/await
0 likes · 8 min read
Why Does async/await Appear to Block Page Rendering? The Real Reason Explained
JavaScript
JavaScript
Jul 2, 2025 · Frontend Development

Why try...catch Misses Promise Errors and How async/await Solves It

This article explains why a traditional try...catch block cannot catch asynchronous Promise rejections in JavaScript, illustrates the sync‑async mismatch with a food‑delivery analogy, and shows how using async/await or .catch() correctly handles such errors.

Error HandlingJavaScriptPromise
0 likes · 6 min read
Why try...catch Misses Promise Errors and How async/await Solves It
JavaScript
JavaScript
Jun 30, 2025 · Frontend Development

Why forEach + async/await Breaks and How to Properly Await in JavaScript

This article explains why combining forEach with async/await leads to unexpected immediate execution, analyzes the underlying behavior of forEach, and presents three reliable patterns—sequential for...of loops, parallel Promise.all with map, and traditional for loops—to correctly handle asynchronous operations in JavaScript.

/loopJavaScriptPromise
0 likes · 7 min read
Why forEach + async/await Breaks and How to Properly Await in JavaScript
JavaScript
JavaScript
Jun 24, 2025 · Frontend Development

How to Replace Nested try…catch in JavaScript with Go‑Style Error Handling

This article explains how async/await simplifies asynchronous JavaScript, reveals the pitfalls of repeatedly nesting try…catch blocks, and introduces a Go‑inspired error‑handling helper that returns [error, data] tuples, enabling flatter, more readable code and seamless integration with Promise.all for concurrent operations.

Error HandlingGo styleJavaScript
0 likes · 9 min read
How to Replace Nested try…catch in JavaScript with Go‑Style Error Handling
JavaScript
JavaScript
Jun 16, 2025 · Frontend Development

5 Hidden JavaScript Pitfalls That Can Break Your Code

This article uncovers five subtle JavaScript pitfalls—including async/await errors, Promise.all fail‑fast behavior, array mutation during iteration, closure‑induced memory leaks, and shallow versus deep copying—providing clear examples and best‑practice solutions to write more robust, predictable code.

JavaScriptPromisearray iteration
0 likes · 10 min read
5 Hidden JavaScript Pitfalls That Can Break Your Code
JavaScript
JavaScript
Jun 13, 2025 · Frontend Development

How to Cancel Ongoing Promises in JavaScript with AbortController

This article explains why native JavaScript Promises cannot be cancelled, introduces the AbortController API as the standard solution, and provides practical examples for using it with fetch and custom asynchronous functions to safely abort operations and improve application robustness.

AbortControllerJavaScriptPromise
0 likes · 6 min read
How to Cancel Ongoing Promises in JavaScript with AbortController
JavaScript
JavaScript
May 16, 2025 · Frontend Development

5 Common Async/Await Error‑Handling Pitfalls and How to Avoid Them

This article outlines five frequent async/await error‑handling mistakes developers encounter in production JavaScript code—such as missing try/catch, lost Promise errors, loop handling issues, synchronous errors, and unchecked Promise states—and provides clear, corrected patterns to prevent crashes.

Error HandlingJavaScriptasync/await
0 likes · 5 min read
5 Common Async/Await Error‑Handling Pitfalls and How to Avoid Them
JavaScript
JavaScript
May 6, 2025 · Frontend Development

Why Sticking to ES5 Is Holding Your JavaScript Back – Modern Alternatives Explained

This article examines common ES5 JavaScript patterns—such as var declarations, mixed function definitions, callback hell, the arguments object, constructor‑based inheritance, string concatenation, and manual loops—and shows how modern ES6+ features like let/const, arrow functions, promises, rest parameters, classes, template literals, spread syntax, and array methods provide cleaner, safer, and more maintainable code.

Arrow FunctionsJavaScriptasync/await
0 likes · 8 min read
Why Sticking to ES5 Is Holding Your JavaScript Back – Modern Alternatives Explained
JavaScript
JavaScript
May 2, 2025 · Frontend Development

Mastering Async/Await: Turn JavaScript Asynchronous Code into Synchronous‑Style Logic

This article walks through the evolution of JavaScript asynchronous programming—from callback hell to promises and finally async/await—explaining how async/await works, when true synchronous execution is needed, and providing practical techniques and code examples for clean, maintainable async code.

Code ExamplesJavaScriptasync/await
0 likes · 6 min read
Mastering Async/Await: Turn JavaScript Asynchronous Code into Synchronous‑Style Logic
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 6, 2025 · Frontend Development

Error Handling Strategies for async/await in JavaScript

This article explains the fundamentals of async/await in JavaScript, compares it with callbacks and promises, and presents various error‑handling approaches such as try/catch, Promise.catch, combined await‑catch, and global rejection listeners, helping developers choose the most suitable strategy for their projects.

JavaScriptPromiseasync/await
0 likes · 9 min read
Error Handling Strategies for async/await in JavaScript
JavaScript
JavaScript
Mar 24, 2025 · Frontend Development

Why Callbacks Are Fading: From Callback Hell to Async/Await

Callback functions, once fundamental to asynchronous JavaScript, suffer from deep nesting, poor error handling, and maintenance challenges, prompting developers to adopt modern alternatives like Promises and async/await, which offer clearer flow, unified error management, and better integration with contemporary frameworks.

AsynchronousCallbacksJavaScript
0 likes · 6 min read
Why Callbacks Are Fading: From Callback Hell to Async/Await
Code Mala Tang
Code Mala Tang
Jan 26, 2025 · Fundamentals

Master Python Async: Boost Performance with asyncio, async/await, and Tasks

This guide explains Python asynchronous programming using the asyncio library, covering async functions, coroutine objects, the event loop, await syntax, task creation, and concurrent execution with asyncio.run, create_task, and gather to improve I/O‑bound performance.

Pythonasync/awaitasynchronous programming
0 likes · 7 min read
Master Python Async: Boost Performance with asyncio, async/await, and Tasks
JavaScript
JavaScript
Jan 13, 2025 · Frontend Development

Boost Your JavaScript Productivity with 6 Powerful Tricks

This article presents six practical JavaScript techniques—including advanced object destructuring, functional array methods, async/await patterns, optional chaining, Set/Map usage, and sophisticated template literals—each illustrated with clear code examples to dramatically improve development efficiency.

JavaScriptSetasync/await
0 likes · 5 min read
Boost Your JavaScript Productivity with 6 Powerful Tricks
FunTester
FunTester
Oct 12, 2024 · Frontend Development

Mastering JavaScript Asynchronous Programming: Callbacks, Promises, and async/await

JavaScript’s single‑threaded nature makes asynchronous programming essential, and this guide explains callbacks, promises (including states and chaining), and async/await syntax with clear examples, illustrating how each technique avoids blocking the main thread and improves code readability and error handling.

AsynchronousCallbacksJavaScript
0 likes · 9 min read
Mastering JavaScript Asynchronous Programming: Callbacks, Promises, and async/await
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Oct 9, 2024 · Frontend Development

How the New JavaScript ?= Operator Can Eliminate Try‑Catch Boilerplate

JavaScript’s upcoming safe‑assignment operator ( ?= ) lets developers handle errors without traditional try‑catch blocks, reducing nesting, improving readability, and enabling seamless integration with async/await, Symbol.result, and recursive error handling, as demonstrated through multiple code examples and a polyfill link.

Error HandlingJavaScriptPolyfill
0 likes · 5 min read
How the New JavaScript ?= Operator Can Eliminate Try‑Catch Boilerplate
Test Development Learning Exchange
Test Development Learning Exchange
Sep 21, 2024 · Fundamentals

Understanding Python Coroutines: Concepts, Implementation, and Practical Examples

This article introduces Python coroutines, explains their basic concepts and advantages, demonstrates how to implement them using async and await, and provides practical examples for concurrent HTTP requests and resource management, illustrating the underlying mechanics of async def, await, and the asyncio library.

CoroutinesPythonasync/await
0 likes · 6 min read
Understanding Python Coroutines: Concepts, Implementation, and Practical Examples
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Sep 18, 2024 · Fundamentals

How the New JavaScript Safe Assignment Operator Eliminates try‑catch

The ECMAScript proposal‑safe‑assignment‑operator introduces the ?= operator, which returns an [error, result] tuple, allowing developers to replace verbose try‑catch blocks with concise, readable error handling that works with async functions, Promises, and any object implementing Symbol.result, while also improving code consistency and safety.

?=Error HandlingJavaScript
0 likes · 8 min read
How the New JavaScript Safe Assignment Operator Eliminates try‑catch
Code Mala Tang
Code Mala Tang
Sep 3, 2024 · Backend Development

Mastering async/await in Node.js: Clean Code, Error Handling, and Patterns

This article explains how async/await simplifies callback and Promise code in Node.js, covering async function basics, error handling, retry strategies, parallel execution, array iteration pitfalls, and step‑by‑step refactoring of callback‑ and Promise‑based applications into clear, maintainable async/await code.

Node.jsasync/awaitpromises
0 likes · 17 min read
Mastering async/await in Node.js: Clean Code, Error Handling, and Patterns
Sohu Tech Products
Sohu Tech Products
Jul 31, 2024 · Fundamentals

Key ES8 (ECMAScript 2017) Features for Modern JavaScript Development

ES8 (ECMAScript 2017) adds trailing commas, async/await syntax, native Object.values/entries methods, padStart/padEnd string padding, and Object.getOwnPropertyDescriptors, enabling cleaner, more concise, and maintainable JavaScript code while simplifying asynchronous handling and object manipulation for developers.

ES8JavaScriptObject Methods
0 likes · 7 min read
Key ES8 (ECMAScript 2017) Features for Modern JavaScript Development
37 Interactive Technology Team
37 Interactive Technology Team
Feb 21, 2024 · Fundamentals

Deconstructing Asynchronous Programming

The article breaks down modern asynchronous programming by examining four core models—callbacks, Promises, reactive observer patterns, and message‑driven architectures—explaining their mechanics, pros and cons, and providing JavaScript/Dart examples and system diagrams to help developers master non‑blocking concurrency.

Callbacksasync/awaitasynchronous programming
0 likes · 26 min read
Deconstructing Asynchronous Programming
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 19, 2023 · Frontend Development

7 Advanced JavaScript async/await Techniques

This article explains seven advanced JavaScript async/await patterns—including higher‑order functions, concurrency control, recursive processing, asynchronous class initialization, method chaining, event‑loop integration, and streamlined error handling—to help developers write clearer, more maintainable asynchronous code.

Advanced TechniquesError HandlingJavaScript
0 likes · 15 min read
7 Advanced JavaScript async/await Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 4, 2023 · Frontend Development

Controlling Concurrent Requests in JavaScript with Promise.all, Promise.race, and async/await

This article explains how to manage multiple asynchronous HTTP requests in modern web development by using Promise.all, Promise.race, async/await, manual counters, and third‑party libraries, providing complete code examples and best‑practice recommendations for limiting concurrency and improving application performance.

JavaScriptPromiseWeb Development
0 likes · 8 min read
Controlling Concurrent Requests in JavaScript with Promise.all, Promise.race, and async/await
php Courses
php Courses
May 8, 2023 · Backend Development

Concurrent Requests to Third-Party APIs in Node.js

This article explains how to use Node.js's built‑in http/https modules to call third‑party APIs and demonstrates three concurrency techniques—Promise.all, async/await with Promise.race, and EventEmitter—to perform parallel requests efficiently, including code examples for constructing requests, handling responses, and error management.

EventEmitterHTTPSNode.js
0 likes · 8 min read
Concurrent Requests to Third-Party APIs in Node.js
Bilibili Tech
Bilibili Tech
Jan 3, 2023 · Frontend Development

Understanding JavaScript Promises: Concepts, Implementation, and Practical Use Cases

The article traces JavaScript promises from their 1988 origins and early libraries through the Promise/A+ spec and ES6 implementation, explains core rules, demonstrates practical rewrites using chaining, async/await, error handling, cancellation patterns, and parallel execution with Promise.all, offering guidance for robust asynchronous code.

Code ExamplesFront-endJavaScript
0 likes · 17 min read
Understanding JavaScript Promises: Concepts, Implementation, and Practical Use Cases
KooFE Frontend Team
KooFE Frontend Team
Oct 31, 2022 · Frontend Development

How React’s New ‘use’ Hook Simplifies Promise Handling in Server and Client Components

React’s newly proposed use hook lets developers consume promises directly in client components and conditionally in loops or blocks, while server components continue to use async/await, offering a unified yet flexible data‑fetching primitive that integrates seamlessly with the JavaScript ecosystem.

Client ComponentsPromiseReact
0 likes · 11 min read
How React’s New ‘use’ Hook Simplifies Promise Handling in Server and Client Components
php Courses
php Courses
Apr 14, 2022 · Frontend Development

Common ES6 Pitfalls and Improvements: A Leader’s Code Review Rants

The article presents a series of JavaScript ES6 code‑review critiques, explaining why older ES5 patterns are problematic and demonstrating modern ES6 alternatives such as destructuring, spread operators, template literals, optional chaining, async/await, and array methods with clear code examples.

Code reviewDestructuringJavaScript
0 likes · 8 min read
Common ES6 Pitfalls and Improvements: A Leader’s Code Review Rants
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 27, 2022 · Frontend Development

Top 10 Must-Read Front-End Articles to Boost Your Skills

This roundup highlights ten essential front‑end articles covering performance metrics, refactoring principles, React Hooks, Markdown, modularization, H5 optimization, mini‑programs, async/await debates, Nohost open‑source insights, and Remix pre‑loading techniques, offering valuable knowledge for developers.

async/awaitfrontendmarkdown
0 likes · 4 min read
Top 10 Must-Read Front-End Articles to Boost Your Skills
Selected Java Interview Questions
Selected Java Interview Questions
Nov 25, 2021 · Frontend Development

Refactoring Examples for Common Business Scenarios: From Callback Hell to Promise.all and Pure Functions

This article demonstrates how to refactor tangled asynchronous request chains and complex if‑else logic in JavaScript by replacing callback hell with Promise.all and async/await, extracting pure helper functions, and applying best‑practice principles to improve readability, testability, and maintainability.

JavaScriptPromisePure Functions
0 likes · 11 min read
Refactoring Examples for Common Business Scenarios: From Callback Hell to Promise.all and Pure Functions
Fulu Network R&D Team
Fulu Network R&D Team
Oct 18, 2021 · Frontend Development

Implementing mini-async-dva: Adding async/await Support to DVA

This article examines the limitations of the original DVA framework, proposes a mini‑async‑dva fork that adds async/await support to model effects, and details its implementation—including store management, dynamic model registration, and asynchronous component loading—while providing full code comparisons.

DVAJavaScriptReact
0 likes · 8 min read
Implementing mini-async-dva: Adding async/await Support to DVA
Tencent Cloud Developer
Tencent Cloud Developer
Aug 18, 2021 · Backend Development

Functional Programming Patterns for Business Logic Optimization

By introducing function composition, async/await support, and the koa‑compose middleware pattern, this article shows how functional programming techniques can replace tangled nested conditionals with reusable, readable pipelines that track execution status, improving business logic readability, maintainability, and extensibility.

Code OptimizationComposeasync/await
0 likes · 9 min read
Functional Programming Patterns for Business Logic Optimization
Programmer DD
Programmer DD
Jul 6, 2021 · Frontend Development

Why Async/Await Beats Promises: 6 Compelling Reasons for Cleaner JavaScript

This article explains the async/await syntax, compares it with traditional Promise chains, and outlines six practical advantages—including conciseness, unified error handling, clearer conditional logic, easier intermediate value handling, better stack traces, and simpler debugging—illustrated with real JavaScript code examples.

Error HandlingJavaScriptasync/await
0 likes · 9 min read
Why Async/Await Beats Promises: 6 Compelling Reasons for Cleaner JavaScript
Python Programming Learning Circle
Python Programming Learning Circle
Jun 5, 2021 · Backend Development

Understanding Python Coroutines: From IO Multiplexing to Generators and Async/Await

This article explains how Python implements coroutines for high‑performance network and web programming by combining OS‑level IO multiplexing, generator‑based control flow, callback elimination, stack‑driven call‑chain traversal, Future objects, and the evolution toward async/await syntax.

GeneratorsIO Multiplexingasync/await
0 likes · 18 min read
Understanding Python Coroutines: From IO Multiplexing to Generators and Async/Await
ByteFE
ByteFE
Apr 7, 2021 · Frontend Development

Promise‑Based JavaScript Animation Library: Design and Implementation

This article introduces a Promise‑based JavaScript animation library, explains how to create sequential animations using async/await, provides polyfills for requestAnimationFrame and es6‑promise, details the Animator class implementation, and demonstrates usage with code examples and easing extensions.

AnimatorJavaScriptPolyfill
0 likes · 11 min read
Promise‑Based JavaScript Animation Library: Design and Implementation
Python Programming Learning Circle
Python Programming Learning Circle
Mar 23, 2021 · Fundamentals

Coroutines and Asynchronous Programming in Python

This article explains Python coroutines, their advantages over threads, demonstrates producer‑consumer patterns, introduces the asyncio event loop, shows how to use async/await syntax, and provides examples of asynchronous network requests and a simple aiohttp server for high‑concurrency I/O.

Pythonaiohttpasync/await
0 likes · 13 min read
Coroutines and Asynchronous Programming in Python
High Availability Architecture
High Availability Architecture
Jan 25, 2021 · Fundamentals

Understanding .NET async/await Through a Single Diagram

This article uses a single illustrative diagram to explain how .NET's async/await works, detailing thread release during I/O, overlapped I/O via IOCP on Windows, continuation scheduling, and differences on Linux with epoll, highlighting scalability and thread reuse benefits.

IOCPasync/awaitasynchronous programming
0 likes · 6 min read
Understanding .NET async/await Through a Single Diagram
Node Underground
Node Underground
Nov 16, 2019 · Frontend Development

How V8 Optimizes async/await: Cutting Microtasks for Faster JavaScript

This article explains how V8 reduces the number of microtasks created by async/await by eliminating redundant Promise wrappers and streamlining then‑handlers, showing the original transformation code, the optimizations applied, and the resulting execution order in both browsers and Node.js.

JavaScript optimizationNode.jsV8
0 likes · 5 min read
How V8 Optimizes async/await: Cutting Microtasks for Faster JavaScript
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2019 · Fundamentals

Master Python Coroutines: From Generators to async/await

This article walks through the evolution of Python's coroutine support—from early generator‑based yield/send patterns, through the introduction of @asyncio.coroutine and yield from, to the modern async and await syntax—explaining concepts, execution flow, and providing clear code examples.

PythonYieldasync/await
0 likes · 10 min read
Master Python Coroutines: From Generators to async/await
AutoHome Frontend
AutoHome Frontend
Jan 7, 2019 · Frontend Development

From Callbacks to Async/Await: Mastering JavaScript Asynchronous Programming

This article walks through the evolution of JavaScript asynchronous patterns—from basic callbacks and their pitfalls, through Promise creation, chaining, and error handling, to the modern async/await syntax—showing how to write clear, maintainable code for real‑world API calls.

AsynchronousCallbacksJavaScript
0 likes · 22 min read
From Callbacks to Async/Await: Mastering JavaScript Asynchronous Programming
Didi Tech
Didi Tech
Aug 3, 2018 · Backend Development

Introduction to Koa2: Features, History, and Basic Usage

Koa2 is a lightweight, async‑await‑based Node.js web framework that evolved from Express to eliminate callback hell, offering an elegant onion‑style middleware system, unified ctx object, and extensibility through routers, static serving, SSR, and database integrations, making it ideal for modern web services.

Koa2Node.jsWeb framework
0 likes · 9 min read
Introduction to Koa2: Features, History, and Basic Usage
System Architect Go
System Architect Go
Feb 28, 2018 · Backend Development

RabbitMQ Tutorial: Basic Async/Await Usage and Work Queues

This article explains RabbitMQ's typical workflow, demonstrates basic message publishing and consumption with async/await in Node.js, introduces work queues with persistent messages and prefetch, and discusses key concepts such as default exchanges, queue durability, and acknowledgment modes.

AcknowledgmentMessage QueueNode.js
0 likes · 5 min read
RabbitMQ Tutorial: Basic Async/Await Usage and Work Queues
Node Underground
Node Underground
Feb 1, 2018 · Backend Development

Should You Upgrade to Node 8? Benefits, Challenges, and V8 Insights

This article discusses the rapid evolution of Node.js versions, the practical difficulties of converting legacy code from yield to await, and why developers should consider upgrading to newer releases like Node 8 to leverage V8's performance improvements.

Node.jsV8 engineasync/await
0 likes · 2 min read
Should You Upgrade to Node 8? Benefits, Challenges, and V8 Insights
System Architect Go
System Architect Go
Jul 16, 2017 · Backend Development

From Nested Callbacks to Promises: Modern Async Patterns in Node.js

This article walks through classic Node.js callback examples, demonstrates how event emitters can replace tangled callback nesting, and then shows how promises and async/await provide cleaner, more maintainable asynchronous code, encouraging developers to upgrade their Node version.

CallbacksJavaScriptNode.js
0 likes · 3 min read
From Nested Callbacks to Promises: Modern Async Patterns in Node.js
Node Underground
Node Underground
Jun 14, 2017 · Backend Development

Why Node.js v8.x’s async/await Can Boost Performance by Up to 50%

Node.js’s rapid v8.x releases introduce async/await, async_hooks, util.promisify and other core updates that can boost performance up to 50%, simplify asynchronous monitoring, and replace third‑party Promise libraries, urging developers to upgrade from older versions while staying mindful of stability.

Node.jsasync/awaitperformance
0 likes · 4 min read
Why Node.js v8.x’s async/await Can Boost Performance by Up to 50%
Taobao Frontend Technology
Taobao Frontend Technology
Mar 24, 2017 · Backend Development

Node.js Underground Rail Event: UI Rendering, Java Migration & Fiber Debate

At the fourth Node.js Underground Rail meetup in Nanjing, industry experts shared practical insights on server‑side component UI rendering for SEO, Java‑to‑Node migration strategies, runtime error detection using V8 monitoring, and debated the merits of async/await versus fiber‑based concurrency, concluding with lively discussions and community photos.

FiberJava migrationNode.js
0 likes · 8 min read
Node.js Underground Rail Event: UI Rendering, Java Migration & Fiber Debate
Node Underground
Node Underground
Jan 18, 2017 · Frontend Development

Mastering Asynchronous JavaScript: From Callbacks to Async/Await

This article explores practical ways to handle asynchronous operations in JavaScript, comparing callbacks, async.js, promises, generators, and async/await, and demonstrates how refactoring code can eliminate callback hell and improve readability for both client‑side and server‑side development.

Asynchronousasync/awaitcallback hell
0 likes · 2 min read
Mastering Asynchronous JavaScript: From Callbacks to Async/Await
Taobao Frontend Technology
Taobao Frontend Technology
Nov 3, 2016 · Frontend Development

Unlock ES6: Master Advanced Modules, Symbols, and Async Patterns

This article delves into ES6’s advanced features—including dynamic module loading, Symbol usage, iterators, Maps, Sets, Weak collections, Promises, async‑await, generators, and meta‑programming tools like Proxy and Reflect—providing concise explanations, code snippets, and practical guidance for modern JavaScript development.

GeneratorsJavaScriptProxy
0 likes · 20 min read
Unlock ES6: Master Advanced Modules, Symbols, and Async Patterns
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
Oct 19, 2016 · Backend Development

Unlock Async/Await in Node.js 7: A Quick Guide to Eliminate Callback Hell

Node.js 7 now supports the async/await syntax, allowing developers to write asynchronous code without callbacks, promises, or generators, and this guide explains how to install Node.js 7, run a simple example, and use the required --harmony-async-await flag while noting its experimental status.

Node.jsasync/awaitasynchronous programming
0 likes · 3 min read
Unlock Async/Await in Node.js 7: A Quick Guide to Eliminate Callback Hell