Created by Casey Muratori.
the idea that data structures should be dense, practical, and designed around actual usage patterns rather than abstract theoretical principles.
What Are Fatty Structs?
In the context of Muratori’s programming philosophy, “fatty structs” refer to data structures that:
- Pack related data together rather than spreading it across multiple objects or classes (as opposed to the OOP paradigm)
- Prioritize cache efficiency by grouping frequently-accessed data
- Avoid unnecessary indirection that comes from object-oriented design patterns
- Include all necessary context within a single structure to minimize dependencies