Tagged articles
4 articles
Page 1 of 1
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 29, 2023 · Fundamentals

Mastering C++20 Coroutines: From Concepts to Practical Implementations

This article provides a comprehensive introduction to C++20 coroutines, covering fundamental concepts, stackful versus stackless implementations, detailed code demos—including a simple coroutine, a generator for Fibonacci numbers, and a task framework—while explaining the underlying compiler transformations and practical usage.

AsyncC++20Coroutines
0 likes · 31 min read
Mastering C++20 Coroutines: From Concepts to Practical Implementations
Laiye Technology Team
Laiye Technology Team
Jul 8, 2022 · Fundamentals

Coroutine Scheduling and Stack Management for High-Concurrency Systems

This article explains how to achieve high‑performance C10M concurrency by moving memory management, packet handling, and scheduling out of the kernel into user space, introduces coroutine concepts, demonstrates a producer‑consumer coroutine example, discusses coroutine stack implementations (stackful vs stackless), and outlines classic scheduling strategies.

C10MStacklesscoroutine
0 likes · 9 min read
Coroutine Scheduling and Stack Management for High-Concurrency Systems
ITPUB
ITPUB
Apr 26, 2016 · Backend Development

Integrating Twisted with Stackless Python: A Practical Guide

This article explains how to combine Twisted's event‑driven reactor with Stackless Python's micro‑threads by setting up a reactor tasklet, creating filtering and wrapper decorators, and providing deferred_tasklet and blocking_tasklet utilities to run asynchronous code synchronously.

AsyncDecoratorStackless
0 likes · 7 min read
Integrating Twisted with Stackless Python: A Practical Guide