
Modern C++ Design
Andrei Alexandrescu · 2001
Programming and computer science › C and C++
#582 most recommended
Hacker News
83
mentions by 69 people · top 4% of 15,732 books
Open Library
5.00★★★★★★★★★★
1 rating · 3 want to read
Wikipedia
711
article views a month
About the book
The book covers generic programming and template metaprogramming in C++, with a focus on designing reusable library components. Its subjects include typelists, policy-based class design, smart pointers, object factories, functors, and multimethods, which it implements in the Loki library. The material targets C++ as standardized before C++11. The central claim is that splitting a component's behavior into orthogonal policies, combined through templates, lets library authors build flexible abstractions without paying runtime cost. The book argues that compile-time computation over types, such as typelists, can replace much hand-written repetition and runtime dispatch. It presents generic design as a practical discipline that yields expressive, type-safe code rather than a set of isolated tricks.
Written by Claude from what it knows of this book.
What Hacker News says 42% recommend · 9% critical
In the commenters’ own words
First, go read "Inside the C++ Object Model" so that you can have a firm grip on how the compiler implements everything under the hood. But, you are looking…
The reason D isn't popular is simple and not a fault of the language itself. It's one of marketting. - Go is backed by Google. - Rust is backed by Mozilla…
What Open Library readers say 5.00 from 1 rating
- 51
- 40
- 30
- 20
- 10
- 3 want to read
- 0 reading
- 3 have read
Only 1 rating: treat the average as a hint.
What Wikipedia says
- published 2001
- 323 pages
- articles in 4 languages
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2001
- ISBN
- 9780201704310
- Editions known
- 2 at Open Library
- Open Library
- OL8021674W
C[plus plus] (Computer program language)
Read next: its neighbours on the mosaic
C++ coding standardsHerb Sutter · 2004 · recommended by 10 people · similar by subject and what people say about it
Effective STLScott Meyers · 2001 · recommended by 13 people · named together in 3 comments
Elements of programmingAlexander A. Stepanov · 2009 · recommended by 31 people · 3 people recommended both
C++ PrimerStanley B. Lippman · 1989 · recommended by 53 people · 3 people recommended both
Effective C++Scott Meyers · 1991 · recommended by 112 people · 3 people recommended both
Code CompleteSteve McConnell · 1993 · recommended by 393 people · 4 people recommended both
Inside the C⁺⁺ object modelStanley B. Lippman · 1996 · recommended by 7 people · named together in 2 comments
Object-oriented software constructionBertrand Meyer · 1988 · recommended by 22 people · 3 people recommended both
The D programming languageAndrei Alexandrescu · 2010 · recommended by 4 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 3 people recommended both
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · 2 people recommended both
Writing solid codeSteve Maguire · 1993 · recommended by 18 people · 2 people recommended both
CLR via C#Jeffrey Richter · 2010 · recommended by 9 people · similar by subject and what people say about it
Designing object-oriented C++ applications using the Booch methodRobert C. Martin · 1995 · recommended by 3 people · similar by subject and what people say about it
Accelerated C++Andrew Koenig · 2000 · recommended by 47 people · named together in 3 comments
Embracing Modern C++ SafelyJohn Lakos · 2021 · recommended by 2 people · similar by subject and what people say about it
Algorithms + data structures=programsNiklaus Wirth · 1976 · recommended by 35 people · 3 people recommended both
Beautiful C++John Davidson · 2021 · recommended by 1 person · similar by subject and what people say about it
API design for C++Martin Reddy · 2011 · recommended by 6 people · similar by subject and what people say about it
The annotated C++ reference manualMargaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
From Mathematics to Generic ProgrammingAlexander A. Stepanov · 2015 · recommended by 12 people · 2 people recommended both
The C++ standard template libraryP. J. Plauger · 2001 · recommended by 1 person · similar by subject and what people say about it
Large-scale C++ software designJohn Lakos · 1996 · recommended by 24 people · 2 people recommended both
Discovering Modern C++Peter Gottschling · 2015 · recommended by 4 people · similar by subject and what people say about it