DeepRead
Cover of Art of Writing Efficient Programs

Art of Writing Efficient Programs

Fedor G. Pikus · 2021

Programming and computer science › Algorithms and coding interviews

#11,647 most recommended

About the book

A practical guide to making C++ programs run faster and use fewer resources. It covers how modern processors, memory hierarchies, compilers and operating systems shape the speed of code, and how to measure performance before changing anything. Its scope includes algorithms, data structures, parallel and concurrent execution, and low-level code optimization. Efficient code depends on understanding how the hardware executes it, so programmers should reason about caches, branches, memory access patterns and parallelism rather than rely on intuition. The author argues that algorithm and data-structure choices and memory layout usually matter more than micro-tweaks, and that every optimization should be guided by profiling and measurement. The book also holds that the compiler and the hardware should be worked with, and that performance work has to be weighed against the cost in clarity and maintainability.

Written by Claude from what it knows of this book.

What Hacker News says 100% recommend · 0% critical

024202220232024202520262022 peak · 1
This bookAverage book in Algorithms and coding interviews

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
2021
ISBN
9781800208117
Editions known
4 at Open Library
Open Library
OL26349581W

Mathematics

Explore in the mosaic

Read next: its neighbours on the mosaic