Good Deal PicksDeals for the United States
BlogSearch
Product guide

The Art of Writing Efficient Programs, 2nd Edition

The Art of Writing Efficient Programs is a second-edition C++ book about performance, hardware behavior, and modern concurrency. Its stated coverage includes CPU architecture, memory hierarchies, compiler behavior, atomics, lock-free structures, and coroutines, aimed at readers already comfortable with multithreading and memory management.

At a glance

  • Connects C++ optimization techniques to CPU execution, caches, memory access, and compiler decisions.
  • Expands concurrency coverage to include memory ordering, atomics, coroutines, NUMA-aware design, and concurrent data structures.
  • The description says this edition includes ARM in its CPU architecture coverage.
Price
$35.99Save 40%

Reference price: $59.99

Price checked: Nov 19, 2026

View offer

Often bought together

Pros and cons

Pros

  • Broad scope ties hardware architecture, memory behavior, compiler optimization, and concurrency together.
  • Substantial concurrency focus covers practical subjects such as atomics, lock-free strategies, and coroutine-based execution.
  • The description identifies experienced C++ programmers and performance-focused engineers as intended readers.

Cons

  • The stated prerequisite knowledge in multithreading and memory management makes this a poor fit as a first C++ or concurrency book.
  • Its advanced systems focus may be more specialized than needed for general-purpose C++ programming.

Technical specifications

10 specifications
Publication details
PublisherPackt Publishing
Edition2nd
Publication dateSeptember 28, 2026
LanguageEnglish
Print length702 pages
ISBN-101835465188
ISBN-13978-1835465189
Dimensions and installation
Weight listed2.61 pounds
Dimensions7.5 x 1.59 x 9.25 inches
Topics and intended reader
Recommended backgroundPrior knowledge of multithreading and memory management is required

What to know before buying

  • This is described as a substantially expanded second edition, with concurrency rewritten and making up nearly half the book. The publication details list September 28, 2026, so confirm edition and availability timing when ordering.

Who is it for?

A good fit for

  • Experienced C++ developers seeking deeper understanding of hardware-related performance.
  • Engineers working on performance-sensitive software, including trading platforms, games, or scientific computing.
  • Readers with prior multithreading and memory-management knowledge who want to study advanced concurrency.

Less suited to

  • People learning C++ fundamentals or concurrency from scratch.
  • Readers seeking a general programming reference without a focus on low-level performance and hardware.

Customer reviews on Amazon

5 / 5 · 6 ratings
  • 5 stars100%100%
  • 4 stars0%0%
  • 3 stars0%0%
  • 2 stars0%0%
  • 1 star0%0%

The supplied evidence includes aggregate ratings but no written review summary. A favorable rating pattern among a small set of ratings offers limited context, and cannot show which topics readers valued or identify specific drawbacks.

Frequently asked questions

Who is this book intended for?

The listing targets experienced C++ developers, performance-focused programmers, and engineers in high-speed systems. It says prior knowledge of multithreading and memory management is required.

What subjects does the second edition cover?

The description lists CPU architecture and memory hierarchy, compiler behavior, atomic operations, memory ordering, coroutine-based execution, NUMA-aware design, and concurrent data structures.

Is this a beginner C++ book?

No. The stated audience is experienced C++ developers, and the listing specifically requires prior familiarity with multithreading and memory management.

How long is the book?

The product details list a print length of 702 pages.

Alternative options

Products with discounts that might interest you

4.8
RAG from First Principles: Engineering RAG Systems with Python, LangChain, and LlamaIndex
RAG from First Principles: Engineering RAG Systems with Python, LangChain, and LlamaIndex

$43.99

$37.39

-15%
-15%
Product details in Markdown