
Game Programming Patterns
Robert Nystrom · 2011
Programming and computer science › Game and graphics programming
#244 most recommended
Hacker News
161
mentions by 134 people · top 2% of 15,732 books
Open Library
4.80★★★★★★★★★★
5 ratings · 47 want to read
Wikipedia
—
No article yet
About the book
A practical guide to recurring design patterns in game programming, covering how real game engines structure gameplay logic, rendering, input, and memory use. It draws its examples from game code and presents each pattern with pseudocode and an explanation of the problem it solves. Patterns from the classic software design canon, such as the Gang of Four set, are often best understood through the constraints of games, where frame-time budgets, many interacting objects, and tight memory limits make some structures necessary. The book holds that patterns such as Game Loop, Update Method, Component, and Flyweight make code cleaner and faster when they are applied to a concrete problem rather than as abstract rules. It also presents performance concerns, especially data locality and cache-friendly layout, as part of ordinary design rather than a separate optimization step.
Written by Claude from what it knows of this book.
What Hacker News says 90% recommend · 1% critical
In the commenters’ own words
First: I very much admire the spirit and concepts presented here, even where specific aspects strike me as less than ideal. In a world of Web designs which…
For narrative fiction, probably not, no. But for non-fiction and technical books, they sure as hell will. For example, if I ask Gemini "What does Bob Nystrom…
What Open Library readers say 4.80 from 5 ratings
- 54
- 41
- 30
- 20
- 10
- 47 want to read
- 5 reading
- 10 have read
Only 5 ratings: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
- Ask HN: What language-agnostic programming books should I read?
- Ask HN: What books had the greatest effect on how you structure your code?
- Ask HN: Books you should have read when you start a career in SE / CS?
- Ask HN: What books should I read to improve as a software engineer?
- Ask HN: What technical books are you reading?
- Ask HN: What is the best programming book you've read?
- Ask HN: Which books are “must-read” for anyone trying to learn about your field?
- Ask HN: What's the best book you've read regarding software development?
Details
- First published
- 2011
- ISBN
- 9780990582908
- Editions known
- 4 at Open Library
- Open Library
- OL19650342W
Computer gamesComputer scienceProgramming
Read next: its neighbours on the mosaic
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · 21 people recommended both
Design PatternsErich Gamma · 1994 · recommended by 95 people · 3 people recommended both
Real-time renderingTomas Möller · 2008 · recommended by 34 people · 3 people recommended both
The Nature of CodeDaniel Shiffman · 2012 · recommended by 73 people · 4 people recommended both
Game engine architectureJason Gregory · 2009 · recommended by 35 people · 2 people recommended both
Computer Graphics from ScratchGabriel Gambetta · 2020 · recommended by 12 people · similar by subject and what people say about it
Clean CodeRobert C. Martin · 2008 · recommended by 298 people · 3 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 5 people recommended both
Game Scripting MasteryAlex Varanese · 2002 · recommended by 6 people · similar by subject and what people say about it
Programming Game AI by ExampleMat Buckland · 2004 · recommended by 7 people · similar by subject and what people say about it
Computer graphicsJohn F. Hughes · 1995 · recommended by 11 people · similar by subject and what people say about it
Designing GamesTynan Sylvester · 2013 · recommended by 15 people · similar by subject and what people say about it
Designing Data-Intensive ApplicationsMartin Kleppmann · 2017 · recommended by 457 people · 7 people recommended both
The Art of Game DesignJesse Schell · 2008 · recommended by 35 people · similar by subject and what people say about it
Effective C++Scott Meyers · 1991 · recommended by 112 people · 3 people recommended both
The architecture of open source applicationsAmy Brown · 2011 · recommended by 204 people · 5 people recommended both
Programming PearlsJon Bentley · 1999 · recommended by 158 people · 3 people recommended both
Architecture Patterns with PythonHarry J.W. Percival · 2020 · recommended by 12 people · similar by subject and what people say about it
Head First design patternsEric Freeman · 2004 · recommended by 65 people · similar by subject and what people say about it
C Concurrency in ActionAnthony Williams · 2012 · recommended by 14 people · 2 people recommended both
Patterns of softwareRichard P. Gabriel · 1996 · recommended by 31 people · similar by subject and what people say about it
JavaScript PatternsStoyan Stefanov · 2010 · recommended by 29 people · similar by subject and what people say about it
Michael Abrash's graphics programming black bookMichael Abrash · 1997 · recommended by 22 people · similar by subject and what people say about it
Software Engineering at GoogleTitus Winters · 2020 · recommended by 21 people · similar by subject and what people say about it