{"product_id":"the-art-of-writing-efficient-programs-9781835466742","title":"The Art of Writing Efficient Programs","description":"\u003cp\u003e\u003cb\u003eGain practical skills to optimize C++ programs using modern CPU architectures, memory models, and concurrency tools \u003c\/b\u003e\u003c\/p\u003e\u003ch4\u003eKey Features\u003c\/h4\u003e\u003cul\u003e\n\u003cli\u003eApply advanced CPU, memory, and concurrency techniques to real-world code\u003c\/li\u003e\n\u003cli\u003eDesign efficient thread-safe data structures using lock-free and atomic strategies\u003c\/li\u003e\n\u003cli\u003eLeverage compiler behavior and modern C++ standards for performance gains\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch4\u003eBook Description\u003c\/h4\u003eHardware 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.\n\nThis edition is roughly half new and \u0026gt;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.\n\nWritten 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.\u003ch4\u003eWhat you will learn\u003c\/h4\u003e\u003cul\u003e\n\u003cli\u003eAnalyze and optimize CPU resource usage\u003c\/li\u003e\n\u003cli\u003eImprove memory access patterns across architectures\u003c\/li\u003e\n\u003cli\u003eDesign performant multithreaded and lock-free systems\u003c\/li\u003e\n\u003cli\u003eUse atomic operations and smart pointers effectively\u003c\/li\u003e\n\u003cli\u003eApply memory order guarantees for correctness and speed\u003c\/li\u003e\n\u003cli\u003eEvaluate compiler decisions and leverage vectorization\u003c\/li\u003e\n\u003cli\u003eImplement coroutine-based execution models\u003c\/li\u003e\n\u003cli\u003eBuild APIs that scale in concurrent environments\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch4\u003eWho this book is for\u003c\/h4\u003eExperienced 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.","brand":"VitalSource","offers":[{"title":"Default Title","offer_id":60899113533726,"sku":"9781835466742","price":47.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0800\/4435\/9966\/files\/1024_063be379-4d14-491f-adc9-c44b07ac5518.jpg?v=1794086196","url":"https:\/\/thinkedu.com\/products\/the-art-of-writing-efficient-programs-9781835466742","provider":"ThinkEDU","version":"1.0","type":"link"}