Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency

Språk
Engelsk
Format
Kategori

Fakta og dokumentar

As hardware advancements continue to accelerate, bringing greater memory capacity and more CPU cores, software must evolve to adapt to efficiently use all available resources and reduce idle CPU cycles. In this book, two seasoned software engineers with about five decades of combined experience will teach you how to implement concurrent and asynchronous solutions in C++.

You’ll gain a comprehensive understanding of parallel programming paradigms—covering concurrent, asynchronous, parallel, multithreading, reactive, and event-driven programming, as well as dataflows—and see how threads, processes, and services are related. Moving into the heart of concurrency, the authors will guide you in creating and managing threads and exploring C++’s thread-safety mechanisms, including mutual exclusion, atomic operations, semaphores, condition variables, latches, and barriers. With this solid foundation, you’ll focus on pure asynchronous programming, discovering futures, promises, the async function, and coroutines. The book takes you step by step through using Boost.Asio and Boost.Cobalt to develop network and low-level I/O solutions, proven performance and optimization techniques, and testing and debugging asynchronous software.

By the end of this C++ book, you’ll be able to implement high-performance software using modern asynchronous C++ techniques.

© 2024 Packt Publishing (E-bok): 9781835884256

Utgivelsesdato

E-bok: 29. november 2024

Tagger

    Derfor vil du elske Storytel:

    • Over 900 000 lydbøker og e-bøker

    • Eksklusive nyheter hver uke

    • Lytt og les offline

    • Kids Mode (barnevennlig visning)

    • Avslutt når du vil

    Det mest populære valget

    Unlimited

    For deg som vil lytte og lese ubegrenset.

    219 kr /måned

    14 dager gratis
    • Lytt så mye du vil

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Family

    For deg som ønsker å dele historier med familien.

    Fra 289 kr /måned

    14 dager gratis
    • Lytt så mye du vil

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Du + 1 familiemedlem2 kontoer

    289 kr /måned

    Benytt tilbud

    Premium

    For deg som lytter og leser ofte.

    189 kr /måned

    • Lytt opptil 50 timer per måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Basic

    For deg som lytter og leser av og til.

    149 kr /måned

    • Lytt opp til 20 timer per måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Lytt og les ubegrenset

    Kos deg med ubegrenset tilgang til mer enn 700 000 titler.

    • Lytt og les så mye du vil
    • Utforsk et stort bibliotek med fortellinger
    • Over 1500 serier på norsk
    • Ingen bindingstid, avslutt når du vil
    Benytt tilbud
    NO - Details page - Device banner - 894x1036
    Cover for Asynchronous Programming with C++: Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency