{"product_id":"modern-c-23-coroutines-billie-s-lightner-9798258170330","title":"Modern C++ 23 Coroutines: Mastering Asynchronous Design with Awaitables, Generators, and Task Frameworks","description":"\u003cb\u003eCallback hell is dead. Blocking threads is obsolete. But if you don't understand how the C++ compiler builds your coroutines, your systems will crash.\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003eFor years, asynchronous programming in C++ meant wrestling with inverted control flows, brittle state machines, and the massive overhead of std:: future. The introduction of coroutines radically changed the language, allowing developers to write asynchronous code that looks and reads sequentially. But beneath the elegant co_await syntax lies a minefield of hidden compiler transformations, promise types, and invisible memory allocations. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eModern C++ 23 Coroutines\u003c\/b\u003e is the definitive, uncompromising guide to mastering asynchronous design in C++. This book strips away the \"compiler magic.\" It takes you deep into the internal machinery of the coroutine transform, teaching you exactly how the compiler builds state machines, manages the coroutine frame, and routes data through the Promise Object. \u003cp\u003e\u003c\/p\u003eWhether you are building high-throughput network servers, asynchronous pipelines, or custom task schedulers, this book gives you the exact blueprints to write highly concurrent, zero-leak C++ code. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eWhat You Will Learn Inside: \u003c\/b\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eThe Compiler Unmasked: \u003c\/b\u003e Deconstruct the coroutine transform. Understand the exact lifetimes of the Coroutine Frame, the Promise Object, and the Coroutine Handle to permanently eliminate dangling references and silent memory leaks.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eThe Promise Contract \u0026amp; Awaitables: \u003c\/b\u003e Take absolute control over suspension points. Write custom Awaitables from scratch, intercept data flow, and implement symmetric transfer to achieve tail-calling without stack overflows.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eGenerators and C++23: \u003c\/b\u003e Build lazy, pull-based generators, manage nested yielding, and leverage the native C++23 std:: generator for optimal ranges integration.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eTask Frameworks \u0026amp; Schedulers: \u003c\/b\u003e Do not rely on generic syntax. Build lazy and eager task types, and engineer custom single-threaded event loops and thread-pool schedulers featuring work-stealing and resume_on controls.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eStructured Concurrency: \u003c\/b\u003e Implement bulletproof when_all and when_any fan-out patterns. Master stop tokens and teardown ordering to prevent fire-and-forget coroutines from outliving their parents.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eAsync I\/O and Networking: \u003c\/b\u003e Wrap io_uring and epoll as native awaitables. Engineer a zero-allocation, massively scalable async TCP server that executes read and write operations via pure co_await.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eProduction Hardening: \u003c\/b\u003e Learn how to force Heap Allocation Elision (HALO) so your coroutine frames never touch the heap, and discover techniques to reconstruct the broken stack traces inherent to coroutine debugging.\u003c\/li\u003e\n\u003c\/ul\u003eDo not write another asynchronous system relying on guesswork and compiler defaults. Take absolute control of your execution context. \u003cp\u003e\u003c\/p\u003eGet your copy today and engineer asynchronous C++ systems that are fast, deterministic, and fiercely resilient.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Billie S. Lightner\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9798258170330\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Independently Published\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 04\/20\/2026\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 298\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 1.05lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.61h x 6.69w x 0.62d","brand":"Billie S. Lightner","offers":[{"title":"Paperback","offer_id":49172907950335,"sku":"9798258170330","price":30.0,"currency_code":"USD","in_stock":true}],"url":"https:\/\/www.whiterainbookhouse.com\/products\/modern-c-23-coroutines-billie-s-lightner-9798258170330","provider":"WR Book House","version":"1.0","type":"link"}