Coroutines (wonder)land

General Info We want to meetup IRL, too! Checkout the website for information on social events this week. Check back weekly, as we announce more. Want to help organize such, yourself? Find us on Discord (check the landing page for info) and help us get back to better networking and socializing. Please checkout the group landing page, https://globalcpp.github.io for all information. This week Damir will give a practical example of using coroutines in socket-based communication. We will redesign the receiver component, common for both endpoints, for handling the data exchange. We will start with a naïve approach – trying directly to replace existing code with a coroutine and explaining why this is an antipattern. Then we will redesign the receiver to be coroutines “friendly” and how we can reimplement the Server and Client components – to handle multiple connections within a single thread, instead of having one receiver thread per connection. We will also explore how we can employ custom allocators to override the coroutine default allocation strategy – allocation on the heap. I’ll describe the implementation, starting with the fixed-size stack allocator – with internal memory storage on the stack, and how to build the pool of fixed-size allocators of different sizes on top of it. We will wrap this implementation into std::pmr::memory_resource interface to have a polymorphic, type-erased allocator that can be used along with std::pmr containers. We will use it to override the coroutine default allocation strategy, allocating memory primarily on the stack, with a fallback strategy – allocating on the heap, only when the capacity of the internal stack storage is exhausted. About the Presenter Principal SW Engineer at e.solutions GmbH in Ingolstadt, Germany. As a member of the connected-media team, he's responsible for the seamless integration of smartphone streaming technologies into the native Infotainment system. Previously worked at RT-RK DOO Novi Sad, Serbia, on various projects – mostly on developing the DTV (Digital Television) software. His upcoming book "Infotainment Development on Android", due to release later this year, is intended to be a pragmatic guide that helps even experienced software developers gain insights into various areas of embedded development. 00:00 Upcoming Book Synopsis 18:04 Coroutine Antipatterns 47:17 Memory Management & Coroutines 1:11:09 Q&A

Elevator System Design — Low Level Design Interview (LLD)
▶︎

Elevator System Design — Low Level Design Interview (LLD)

The Superweapon Against Putin | Torsten Heinrich
▶︎

The Superweapon Against Putin | Torsten Heinrich

Lock-Free Programming and Concurrent Data Structures on Modern Hardware
▶︎

Lock-Free Programming and Concurrent Data Structures on Modern Hardware

Lock-free Programming is Dead - Long Live Lock-free Programming! - Fedor G Pikus - C++Now 2026
▶︎

Lock-free Programming is Dead - Long Live Lock-free Programming! - Fedor G Pikus - C++Now 2026

Threads vs Coroutines — Why C++ Has Two Concurrency Models - Conor Spilsbury - CppCon 2025
▶︎

Threads vs Coroutines — Why C++ Has Two Concurrency Models - Conor Spilsbury - CppCon 2025

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat
▶︎

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

The Dependency Hell That Followed Me Everywhere -- Python, JavaScript, Go vs Sky
▶︎

The Dependency Hell That Followed Me Everywhere -- Python, JavaScript, Go vs Sky

I Hacked This Temu Router. What I Found Should Be Illegal.
▶︎

I Hacked This Temu Router. What I Found Should Be Illegal.

The Java Story  |  The Official Documentary
▶︎

The Java Story | The Official Documentary

Turing Award Winner: Thinking Clearly, Paxos vs Raft, Working With Dijkstra | Leslie Lamport
▶︎

Turing Award Winner: Thinking Clearly, Paxos vs Raft, Working With Dijkstra | Leslie Lamport

Keynote: Benchmarking - It's About Time - Matt Godbolt - C++Now 2026
▶︎

Keynote: Benchmarking - It's About Time - Matt Godbolt - C++Now 2026

CHOSEN ONE!! YOUR IDENTITY REVEAL JUST SHOOK THE INTERNET... AND THEIR MINDS
▶︎

CHOSEN ONE!! YOUR IDENTITY REVEAL JUST SHOOK THE INTERNET... AND THEIR MINDS

The Most Important Conversation in AI Right Now
▶︎

The Most Important Conversation in AI Right Now

CANBUS – Networking so simple, even YOU can understand it!
▶︎

CANBUS – Networking so simple, even YOU can understand it!

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025
▶︎

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers
▶︎

No Boss, No Money: The Raw Reality of China’s Gen-Z Freelancers

Shall we begin? Episode 1481
▶︎

Shall we begin? Episode 1481

RE//verse 2026: Thinking Like a Compiler: Obfuscation from the Other Side by Laurie Kirk
▶︎

RE//verse 2026: Thinking Like a Compiler: Obfuscation from the Other Side by Laurie Kirk

The Trillion-Dollar AI Debt Investors Don’t See
▶︎

The Trillion-Dollar AI Debt Investors Don’t See

Keynote: Reflection Is Only Half the Story - Barry Revzin - C++Now 2026
▶︎

Keynote: Reflection Is Only Half the Story - Barry Revzin - C++Now 2026