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

    Andre liker også ...

    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

    Unlimited

    For deg som vil lytte og lese ubegrenset.

    219 kr /måned

    • 1 konto

    • Ubegrenset lytting

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud
    Sommertilbud: Prøv GRATIS!

    Premium

    For deg som lytter og leser ofte.

    189 kr /måned

    • 1 konto

    • 50 timer/måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Prøv gratis

    Family

    For deg som ønsker å dele historier med familien.

    Fra 289 kr /måned

    • 2-3 kontoer

    • Ubegrenset lytting

    • Familiens førstevalg

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Du + 1 familiemedlem

    2 kontoer

    289 kr /måned

    Benytt tilbud

    Basic

    For deg som lytter og leser av og til.

    149 kr /måned

    • 1 konto

    • 20 timer/måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Prøv Storytel nå 📚

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

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