
Data-oriented design
Mr Richard Fabian · 2018
Programming and computer science › Software design and clean code
#3,167 most recommended
Hacker News
18
mentions by 12 people · top 18% of 15,732 books
Open Library
—
No ratings yet
2 want to read
Wikipedia
—
No article yet
About the book
Data-oriented design is an approach to writing software that starts from how data is laid out and accessed in memory, rather than from object hierarchies and abstractions. The book's scope is performance-sensitive software such as games and simulations, and it covers the hardware factors, including caches, memory bandwidth and branch behaviour, that shape how fast code runs. Its central claim is that the cost of a program is dominated by how data moves through the memory hierarchy, so a designer should model the data and the transformations applied to it before the code that wraps them. It argues that conventional object-oriented designs, with scattered allocations and per-object behaviour, waste cache capacity and make hardware-friendly optimisation hard to add later. It presents techniques such as splitting fields into contiguous arrays, grouping work by transformation, and reducing indirection, and it judges a design by how well it matches the actual data flow.
Written by Claude from what it knows of this book.
What Hacker News says 100% recommend · 0% critical
In the commenters’ own words
This is somewhat related: I mention this a lot, but in researching Data-Oriented Design (what Mike was talking about), I came across Richard Fabian's DoD book…
I think I had a pretty good understanding of set theory through programming, and although I tried to get into the more mathematical side of it, I found most…
What Open Library readers say
No Open Library reader has rated it yet.
- 2 want to read
- 0 reading
- 1 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
- 2018
- ISBN
- 9781916478701
- Editions known
- 2 at Open Library
- Open Library
- OL26362741W
Read next: its neighbours on the mosaic
Large-scale C++ software designJohn Lakos · 1996 · recommended by 24 people · similar by subject and what people say about it
Designing Data-Intensive ApplicationsMartin Kleppmann · 2017 · recommended by 457 people · 2 people recommended both
Domain-Driven DesignEric Evans · 2003 · recommended by 104 people · similar by subject and what people say about it
Practical Object-Oriented DesignSandi Metz · 2018 · recommended by 14 people · similar by subject and what people say about it
Object thinkingWest, David · 2004 · recommended by 12 people · similar by subject and what people say about it
Object-Oriented Analysis and Design with ApplicationsGrady Booch · 1990 · recommended by 7 people · similar by subject and what people say about it
Structured designEdward Yourdon · 1975 · recommended by 3 people · similar by subject and what people say about it
Practical Object Oriented Design In RubySandi Metz · 2012 · recommended by 46 people · similar by subject and what people say about it
Data-Oriented ProgrammingYehonathan Sharvit · 2022 · recommended by 2 people · similar by subject and what people say about it
A Philosophy of Software DesignJohn K. Ousterhout · 2018 · recommended by 163 people · similar by subject and what people say about it
The architecture of open source applicationsAmy Brown · 2011 · recommended by 204 people · 2 people recommended both
Data and RealityWilliam Kent · 1978 · recommended by 15 people · similar by subject and what people say about it
Object-Oriented JavaScriptVed Antani · 2017 · 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
Head first object-oriented analysis and designBrett McLaughlin · 2006 · recommended by 4 people · similar by subject and what people say about it
Property-Based Testing with PropEr, Erlang, and ElixirFred Hebert · 2019 · recommended by 3 people · loosely similar by subject
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · similar by subject and what people say about it
Component softwareClemens Szyperski · 1997 · recommended by 3 people · similar by subject and what people say about it
Taligent's Guide to Designing ProgramsInc Taligent · 1994 · recommended by 1 person · similar by subject and what people say about it
Understanding and Using C PointersRichard M Reese · 2013 · recommended by 12 people · similar by subject and what people say about it
Game Programming GemsMark DeLoura · 2000 · recommended by 8 people · similar by subject and what people say about it
Algorithms and data structuresNiklaus Wirth · 1986 · recommended by 8 people · similar by subject and what people say about it