
Art of Writing Efficient Programs
Fedor G. Pikus · 2021
Programming and computer science › Algorithms and coding interviews
#11,647 most recommended
Hacker News
4
mentions by 2 people · top 54% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
If you need to organize your thoughts on what measurements are and how at least some profiling tools work you can pick up a book or two. I would recommend for…
This is Excellent! Thanks for sharing. First off, i highly suggest that you expand this into a full-blown book. This could become a successor to a combination…
What Open Library readers say
No Open Library reader has rated it yet.
- 1 want to read
- 0 reading
- 0 have read
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
Read next: its neighbours on the mosaic
Advanced programming language designRaphael A. Finkel · 1996 · recommended by 2 people · similar by subject and what people say about it
A method of programmingEdsger Wybe Dijkstra · 1988 · recommended by 2 people · similar by subject and what people say about it
Writing efficient programsJon Louis Bentley · 1982 · recommended by 9 people · similar by subject and what people say about it
Numerical AlgorithmsJustin Solomon · 2015 · recommended by 1 person · loosely similar by subject
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · similar by subject and what people say about it
Software VisualizationStephan Diehl · 2002 · recommended by 1 person · loosely similar by subject
Visual Thinking in MathematicsMarcus Giaquinto · 2007 · recommended by 1 person · loosely similar by subject
The Art of Readable CodeDustin Boswell · 2011 · recommended by 11 people · similar by subject and what people say about it
A discipline of programmingEdsger Wybe Dijkstra · 1976 · recommended by 16 people · similar by subject and what people say about it
The C++ standard template libraryP. J. Plauger · 2001 · recommended by 1 person · loosely similar by subject
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people · similar by subject and what people say about it
Programming on PurposeP. J. Plauger · 1997 · recommended by 7 people · similar by subject and what people say about it
Mathematical writingDonald Knuth · 1988 · recommended by 11 people · similar by subject and what people say about it
Compiler construction for digital computersDavid Gries · 1971 · recommended by 1 person · loosely similar by subject
Programming PearlsJon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
Elements of programmingAlexander A. Stepanov · 2009 · recommended by 31 people · similar by subject and what people say about it
Software engineering mathematicsJim Woodcock · 1988 · recommended by 2 people · loosely similar by subject
Large-scale C++ software designJohn Lakos · 1996 · recommended by 24 people · similar by subject and what people say about it
Combinatorial OptimizationAlexander Schrijver · 2003 · recommended by 1 person · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
Design concepts in programming languagesFranklyn A. Turbak · 2008 · recommended by 7 people · similar by subject and what people say about it
How to solve itGeorge Pólya · 1945 · recommended by 161 people · similar by subject and what people say about it
Art of Programming - Volume 3 - Answers to ExercisesDonald Knuth · recommended by 6 people · similar by subject and what people say about it
From Mathematics to Generic ProgrammingAlexander A. Stepanov · 2015 · recommended by 12 people · similar by subject and what people say about it