u/rahuul_shin r/Zig • Recommends
#data-orienteddesign#zig#cachelocality
Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)
1.5K subscribers • 1 video on Hallway
- Recommended by 6 people: 4 on Hacker News, 1 on Lobsters and 1 in engineering communities.
- Presented by Andrew Kelley, creator of Zig
Intermediate. Assumes working knowledge.
415K views2 years ago6 recommendations
Systems programmingSoftware designData-oriented designPerformance and optimizationMemory management
Andrew Kelley explains practical data-oriented design techniques to reduce memory footprint and improve cache friendliness, using the Zig compiler as a case study.
Copyright: Belongs to Handmade Seattle (https ://vimeo.com/649009599). I'm not the owner of the video and hold no copyright. And the video is not monetized. In this video Andrew Kelley (creator of Zig programming language) explains various strategies one can use to reduce memory footprint of programs while also making the program cache friendly which increase throughput. At the end he presents a case study where DoD principles are used in Zig compiler for faster compilation. References: - CppCon 2014: Mike Acton "Data-Oriented Design and C++": youtube.com/watch?v=rX0ItVEVjHc - Handmade Seattle: handmade-seattle.com/ - Richard Fabian, 'Data-Oriented Design': dataorienteddesign.com/dodbook/ - IT Hare, 'Infographics: Operation Costs in CPU Clock Cycles': ithare.com/infographics-operation-costs-in-cpu-clock-cycles/ - The Brain Dump, 'Handles are the better pointers': floooh.github.io/2018/06/17/handles-vs-pointers.htmlWhy it's here
6 people recommend thisWhat people say. Recommended as an excellent practical guide to data-oriented design and memory optimization in systems programming.
Moments people linked to
emmanueloga_on Hacker News • Recommends
On “Rust for tokenising and parsing”
iamcreasyon Hacker News • Recommends
On “Writing memory efficient C structs”
Rendelloon Hacker News • Recommends
On “Your data model is your destiny”
gethlyon Hacker News • Recommends
On “Why Object of Arrays beat interleaved arrays: a JavaScript performance issue”
Rendelloon Hacker News • Recommends
On “Everyone Should Know SIMD”
u/-not_a_knifein r/C_Programming • Mentions
On “Is C good enough for independent game development?”
u/igors84in r/Zig • Mentions
On “I made an x86_64 machine code generator”
u/miyoyoin r/Zig • Mentions
On “Why not backticks for multiline strings?”
u/tj6200in r/ProgrammingLanguages • Mentions
On “October 2024 monthly "What are you working on?" thread”
u/Pretty_Jellyfish4921in r/ProgrammingLanguages • Mentions
On “How do you get good error reporting once you've stripped out the tokens?”
u/woupiestekin r/ProgrammingLanguages • Mentions
On “October 2025 monthly "What are you working on?" thread”
u/Judsen_Hembreein r/Zig • Mentions
On “AVL Tree, get closest scores to target matchmaking algorithm implementation from scratch in zig”
brabelon Hacker News • Mentions
On “Aro – Zig's new C compiler”
Rendelloon Hacker News • Mentions
On “Forth: The programming language that writes itself”