Unisciti a noi in un viaggio nel mondo dei libri!
Aggiungi questo libro allo scaffale
Grey
Scrivi un nuovo commento Default profile 50px
Grey
Iscriviti per leggere l'intero libro o leggi le prime pagine gratuitamente!
All characters reduced
Asynchronous Programming with C++ - Build blazing-fast software with multithreading and asynchronous programming for ultimate efficiency - cover

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

Javier Reguera-Salgado, Juan Antonio Rufes

Casa editrice: Packt Publishing

  • 0
  • 0
  • 0

Sinossi

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.
Disponibile da: 29/11/2024.
Lunghezza di stampa: 424 pagine.

Altri libri che potrebbero interessarti

  • Cognitive Architectures - Exploring the Foundations Theories and Practical Applications of Human-Like Intelligence Systems in AI Robotics and Beyond - cover

    Cognitive Architectures -...

    May Sherry

    • 0
    • 0
    • 0
    Unlock the complexities of human cognition and its replication in artificial systems with Cognitive Architectures. This comprehensive guide delves into the fundamental principles, key theories, and practical applications of cognitive architectures, offering a deep dive into how these frameworks simulate human-like intelligence and behavior. 
    Cognitive Architectures provides a thorough understanding of how human-like intelligence systems are designed, implemented, and utilized. With its clear explanations, detailed case studies, and forward-thinking insights, this book is an essential resource for anyone interested in the intersection of cognitive science, artificial intelligence, and robotics. 
     
    Mostra libro
  • The Forgotten Sense - The New Science of Smell—and the Extraordinary Power of the Nose - cover

    The Forgotten Sense - The New...

    Jonas Olofsson

    • 0
    • 0
    • 0
    A New York Public Library "Best Book of the Year" 
    “The Forgotten Sense leaves us with the hope of new discoveries and new recoveries—so that we may once again revel in the glorious, fragrant world around us.”—Wall Street Journal 
    By one of the world’s leading researchers into the science of smell, a fascinating exploration of our most essential yet least understood sense—enabling us to appreciate food and drink, warning us of dangers, and even influencing who we fall in love with 
    Our sense of smell guides our lives far more than our screen-heavy, sight-privileged era would suggest. It animates our experience of food and drink, helps us access memories, and strengthens our intimacy with each other. But, long considered our most “beastly” sense, the inner workings of smell have stumped scientists for centuries. 
    Now, cognitive scientist and leading smell researcher Jonas Olofsson uncovers the sophisticated processes that drive our olfactory system, with profound implications for how we perceive the world around us. Drawing from cutting-edge original research, Olofsson shows that not only is our sense of smell extraordinarily sensitive, its process of chemical exchange shaped human evolution on its most fundamental level. 
    From the pheromones, environmental signals, and emotions we process with each breath, olfaction makes us the individuals we are. Moreover, smelling is an intellectual exercise, Olofsson argues, one that we have the remarkable capacity to strengthen and, with some effort, even regain after illness. 
    With infectious curiosity and a host of applications—from emotional health and gastronomy to literature and even politics—The Forgotten Sense is a wide-ranging and entertaining look at this most understudied function of human life.
    Mostra libro
  • The Book on the Bookshelf - cover

    The Book on the Bookshelf

    Henry Petroski

    • 0
    • 0
    • 0
    From the author of the highly praised The Pencil and The Evolution of Useful Things comes another captivating history of the seemingly mundane: the book and its storage. 
    Most of us take for granted that our books are vertical on our shelves with the spines facing out, but Henry Petroski, inveterately curious engineer, didn’t. As a result, readers are guided along the astonishing evolution from papyrus scrolls boxed at Alexandria to upright books shelved at the Library of Congress. 
     Petroski takes us into the pre-Gutenberg world, when books were so scarce they were chained to lecterns for security. He explains how the printing press not only changed the way books were made and shelved but also increased their availability and transformed book readers into book owners and collectors. 
    In delightful digressions, Petroski lets Seneca have his say on “the evils of book collecting;” examines the famed collection of Samuel Pepys and his only three thousand titles—old discarded to make room for new; and discusses bookselling, book buying, and book collecting through the centuries. 
    This is the ultimate book on the book: how it came to be and how we have come to keep it.
    Mostra libro
  • Random Science Facts That Will Make You Sleep Fast: Calm Bedtime Talk - cover

    Random Science Facts That Will...

    Facta Somnus

    • 0
    • 0
    • 0
    "Random Science Facts That Will Make You Sleep Fast: Calm Bedtime Talk" is a soothing audiobook designed to help you unwind and drift into a peaceful sleep. Explore a collection of fascinating science facts, from the mysteries of the universe to the wonders of the human body, presented in a calm and gentle narration. Each fact is carefully selected to spark curiosity without overwhelming, allowing your mind to relax and gradually transition to a restful state. Perfect for those who love learning something new before bed, this audiobook combines knowledge with tranquility for a unique, sleep-inducing experience.
    Mostra libro
  • Quantum Computing - An Introduction to the Science and Technology of the Future - cover

    Quantum Computing - An...

    Brian Murray

    • 0
    • 0
    • 0
    Quantum Computing: An Introduction to the Science and Technology of the Future is a comprehensive guide to the revolutionary field of quantum computing. This book provides a thorough introduction to the fundamental concepts of quantum computing, including quantum mechanics, quantum algorithms, quantum error correction, and quantum hardware. 
    Starting with an overview of classical computing and quantum mechanics, the book explains the fundamental principles of quantum computing and how they differ from classical computing. The book then delves into quantum algorithms, including the famous Shor's algorithm for factoring large numbers and Grover's algorithm for searching an unsorted database. 
    Next, the book covers the important topic of quantum error correction, which is essential for building practical quantum computers. The book provides a detailed explanation of the main quantum error correction codes and their properties. 
    Throughout the book, the authors use clear and concise language to explain complex concepts and provide detailed examples and illustrations to help readers understand the material. Whether you are a student, researcher, or technology enthusiast, this book will provide a comprehensive introduction to the exciting field of quantum computing. 
     
    Mostra libro
  • Rare Earth Elements & Critical Minerals: Science Supply Chains & Statecraft - What They Do Why They Matter & What The Future Holds… - cover

    Rare Earth Elements & Critical...

    Dr. Nick Coman, I. A.I.

    • 0
    • 0
    • 0
    A 36‑lecture audio course on the materials that run the modern world—from ore bodies and brines to magnets, batteries, chips, and reactors. Each lecture focuses on one element or mineral, tracing its journey from deposit geology through beneficiation and refining to the devices it powers. 
    We make the flowsheet legible: comminution and flotation; roasting, high‑pressure acid leaching, solvent extraction, and ion exchange; separation to oxides and metals; alloying and specialty powders. See how neodymium‑iron‑boron magnets are born, why lithium hexafluorophosphate matters in electrolytes, where gallium nitride wins in power, how graphite anodes evolve with silicon, and how the uranium fuel cycle and vanadium flow batteries actually work. 
    Markets and politics are treated as engineering constraints. Learn to spot yield killers, read offtake agreements, and separate strategic scarcity from narrative. Test real substitutions—ferrites in small motors, sodium‑ion for short‑range storage, gallium nitride versus silicon carbide—and where performance cliffs block redesign. We map chokepoints beyond the mine: separation capacity, reagents, waste handling, water and energy intensity, and manufacturer qualification cycles. Then we follow the consequences—export controls and quotas, permitting and community consent, tariffs and friend‑shoring, standards and labeling rules. 
    Rigorous, narrative‑driven, and built for the intellectually ambitious, this course is an operator’s guide to the science, supply chains, and statecraft of a materials‑constrained century.
    Mostra libro