HackerTube

THE VIDEO SHELF · data-oriented design

Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)

Andrew Kelley, creator of Zig, presents practical data-oriented design techniques for shrinking memory footprint and making programs cache friendly. He ends with a case study of how these ideas sped up the Zig compiler.

Why HN readers recommended it

HN cites it as one of the best talks on data-oriented design, applying struct-of-arrays and compact data layouts to a real compiler.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
ChimiChanga
Topic
data-oriented design
Format
talk
Level
intermediate
HN recommenders in dataset
4
HN mentions in dataset
10
Recommendation years in dataset
2024–2026

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • That talk is great, but I remember some discussion later about Go actually NOT using this technique because of goroutine scheduling overhead and/or inefficient memory allocation patterns? The best discussion I could find is [1]. Another great talk about making efficient lexers and parsers is …

    emmanueloga_ on Hacker News · 2024-11
    In Rust for tokenising and parsing
  • This reminds of an amazing talk by Mike Acton on Data oriented design: [LINK] And there is a related talk by Andrew Kelley implementing these ideas on Zig toolchain: [VIDEO]

    iamcreasy on Hacker News · 2025-07
    In Writing memory efficient C structs
  • I recently spent a week or so creating a library for my project. There's not a lot of code, but it was hard to reason about the data model, what I wanted the API to look like, and what I wanted actually rendered on the …

    Rendello on Hacker News · 2025-10
    In Your data model is your destiny

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.

Keep exploring