The Art of Writing Efficient Programs - Second Edition

The Art of Writing Efficient Programs - Second Edition

Fedor G. Pikus

66,61 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2026
ISBN:
9781835465189
66,61 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Kálamo Books
  • Librería Elías (Asturias)
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

Gain practical skills to optimize C++ programs using modern CPU architectures, memory models, and concurrency toolsKey Features:- Apply advanced CPU, memory, and concurrency techniques to real-world code- Design efficient thread-safe data structures using lock-free and atomic strategies- Leverage compiler behavior and modern C++ standards for performance gainsBook Description:Hardware stopped making your programs faster for free a long time ago. What it does instead is reward code that understands it, code written with a clear picture of how the CPU executes instructions, how memory really moves through caches, and what the compiler can and cannot do on your behalf. This book teaches that understanding, from first principles to the most advanced techniques, and shows you how to turn it into measurably faster software.This edition is roughly half new and >60% longer. The coverage of CPU architecture (now including ARM), instruction processing, and the memory hierarchy, from caches to paging and virtual addressing, is expanded throughout. But the largest change is concurrency, which now makes up nearly half the book and is entirely rewritten: the memory model, atomic operations and atomic shared pointers, coroutine-based execution, NUMA-aware design, and a completely rewritten chapter on concurrent data structures that shows how cache coherency on modern hardware changes the established rules of lock-free programming, including advanced techniques such as helping.Written by Fedor G. Pikus, industry leader in high-performance C++, with a foreword by Herb Sutter, this book equips you with both conceptual clarity and the hands-on techniques needed to make your software faster, leaner, and smarter.What You Will Learn:- Analyze and optimize CPU resource usage- Improve memory access patterns across architectures- Design performant multithreaded and lock-free systems- Use atomic operations and smart pointers effectively- Apply memory order guarantees for correctness and speed- Evaluate compiler decisions and leverage vectorization- Implement coroutine-based execution models- Build APIs that scale in concurrent environmentsWho this book is for:Experienced C++ developers, performance-focused programmers, and engineers working in high-speed systems like trading platforms, games, or scientific computing. Prior knowledge of multithreading and memory management is required to make the most of this book.Table of Contents- Introduction to Performance and Concurrency- Performance Measurements- CPU Architecture, Resources, and Performance- Memory Architecture and Performance- Threads, Memory, and Concurrency- Concurrency and Performance- Data Structures for Concurrency- Concurrency in C++- High-Performance C++- Compiler Optimizations in C++- Undefined Behavior and Performance- Design for Performance

Artículos relacionados

  • Poetry Is Our Ministry to Touch the Heart
    Anelda Lukesia Ballard / Jean Anelda Scott
    Poetry is Our Ministry to Touch the Heart, was birthed when Anelda L. Ballard became ill. God spoke to her in a dream and said 'pick up a pen and write' by being obedient this book was written through the Holy Spirit. Anelda and her mother Jean A. Scott believes that God’s wants to heal a hurting heart. This book will inspire you and encourage you to never give up hope. Jesu...
    Disponible

    11,12 €

  • I soldati lunghi
    Pierluigi Romeo di Colloredo Mels
    Il 24 maggio 1915 il Regno d’Italia entrò nella Grande Guerra, che si sarebbe dimostrata il momento più alto e tragico della sua storia, a poco più di cinquant’anni dalla sua unificazione.In quella lotta tremenda durata quattro anni, la Brigata Granatieri di Sardegna , con i suoi due valorosi Reggimenti, i più antichi del Regio Esercito scrisse, nel grande quadro della guerra d...
    Disponible

    32,59 €

  • Five Beneath Philly
    Susan Bandy / Tom Richmond
    Allen Williams plans to make something of his life and escape South Philly and the work at Cross Brothers’ Meat Packing Plant. He prepares himself with excellent grades and an upcoming full-ride scholarship to climb out of South Philly forever. Then fate changes his whole world. An only son in a family of six, Allen suddenly finds himself responsible for his mother, grandmother...
    Disponible

    18,28 €

  • Forms
    Sharon Welch
    I am an award-winning artist and my works hang in private residences, community hospitals, businesses, and restaurants across the US and also abroad.  I live in Pierre, South Dakota. Since 2008 I have owned Sharon Welch Gallery and Studio where I paint and teach classes.  My theory is have fun, remove the fear of failure, experiment and let the child inside of you play.Very oft...
  • Ricordi di una ausiliaria
    Andrea Lombardi / Raffaella Duelli
    Le memorie di Raffaella Duelli, Volontaria nel Battaglione Barbarigo della Decima Flottiglia Mas iniziano con la partenza del Barbarigo da Roma, narrando la lunga marcia del reparto verso il nord, sotto il mitragliamento degli aerei Alleati. Quindi, è descritta vividamente l'ultima battaglia del Barbarigo sul Fronte Sud, dal Senio a Comacchio: gli appunti di Raffaella, giov...
    Disponible

    28,08 €

  • Why Didn’t You Ask?
    Panya Dixon
    From an early occurrence in her childhood to a perilous thirteen-year relationship, Panya Dixon too often suffered from various forms of physical, emotional, and sexual abuse. Conflicted between love and the pain her loved ones brought on her, she consistently had to fight for her life and her will to move on. Why Didn’t You Ask? is an expression of Panya’s truth—her trials, pa...
    Disponible

    20,35 €

Otros libros del autor

  • Hands-On Design Patterns with C++ - Second Edition
    Fedor G. Pikus
    A comprehensive guide with extensive coverage of concepts such as OOP, functional programming, generic programming, concurrency, and STL along with the latest features of C++Purchase of the print or Kindle book includes a free PDF eBookKey Features:Delve into the core patterns and components of C++ to master application designLearn tricks, techniques, and best practices to solv...
    Disponible

    73,60 €