frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
20•tosh•1h ago

Comments

inigyou•34m ago
Serious question. Does DOD mean anything more than array programming, in practice?
RobRivera•30m ago
Yes
laladrik•20m ago
Have a look at the talk Practical Data-Oriented Design by Andrew Kelly [1]. He covers the following techniques:

1. Indexes instead of pointers. This allows you to avoid alignment of 8 bytes in your structure for x86_64.

2. Storing booleans out-of-band. Booleans cause padding all the time.

3. Struct of Arrays. Based on your question I assume you're familiar with it.

4. Store sparse data in hash maps. I remember one time when it allowed to eliminate inheritance.

5. Encoding the data instead of OOP/polymorphism. I haven't got an occasion to use it. The idea is to add extra tags to avoid boolean properties.

[1] - https://vimeo.com/649009599

jordand•12m ago
A lot of it just comes down to KISS and avoiding unnecessary overhead and indirection (like vtables, C++ STL containers etc.) so you're getting the most out of the hardware.

Decker

https://beyondloom.com/decker/
44•tosh•1h ago•6 comments

London Gatwick has launched a robotic airport parking service

https://aerospaceglobalnews.com/news/gatwick-airport-robotic-parking-stanley-robotics/
230•agotterer•5h ago•184 comments

Design is compromise

https://stephango.com/design-is-compromise
108•ankitg12•4h ago•49 comments

Kimi K3 is not cheap

https://www.alexinch.com/blog/kimi-k3
11•ainch•15m ago•2 comments

Show HN: CheapSecurity – Lightweight, Self-Hosted CCTV for Linux SBCs

https://github.com/gmrandazzo/CheapSecurity
52•zeldone•3h ago•12 comments

Jimothy the raccoon has a rare spinal condition. Here's what that means

https://www.popsci.com/science/whats-jimothy-raccoon-condition/
64•speckx•5d ago•25 comments

Htmx 4.0, the first JavaScript library to release exclusively on the Game Boy

https://swag.htmx.org/en-cad/products/htmx-4-the-game
209•rcy•7h ago•71 comments

Building the Grace Cathedral Experience

https://blog.playcanvas.com/building-the-grace-cathedral-experience/
8•ovenchips•4d ago•0 comments

Go Analysis Framework: modular static analysis by go team

https://pkg.go.dev/golang.org/x/tools/go/analysis
148•AbuAssar•7h ago•24 comments

How to Write English Prose

https://thelampmagazine.com/blog/how-to-write-english-prose
27•geneticdrifts•2h ago•7 comments

The relay market powering token resellers and fraud

https://vectoral.com/blog/token-relay-market
94•mlenhard•4h ago•50 comments

Introduction to Data-Oriented Design [pdf]

https://www.gamedevs.org/uploads/introduction-to-data-oriented-design.pdf
20•tosh•1h ago•4 comments

Show HN: Free Bible study that explains every chapter you read

https://learnofchrist.com
3•not_wowinter14•12m ago•1 comments

How to Block Some of the Bots

https://nochan.net/b/Internet-Crap/20260606-How-To-Block-Some-Of-The-Bots/
15•Bender•1h ago•11 comments

The Strongest El Niño Ever

https://www.theclimatebrink.com/p/the-strongest-el-nino-ever
104•ndsipa_pomu•1h ago•47 comments

Show HN: HART OS – an open-source AI OS built so frontier AI needs no datacenter

https://github.com/hertz-ai/HARTOS
8•hevolveai•1h ago•3 comments

Using sed to make indexes for books (long) (1997)

https://www.pement.org/sed/make_indexes.txt
23•TMWNN•3d ago•4 comments

The New AI Superpowers: Focus and Followthrough

https://www.rickmanelius.com/p/the-new-ai-superpowers-focus-and
73•mooreds•6h ago•27 comments

Kill The Cookie Banner

https://killthecookiebanner.eu/
607•rapnie•7h ago•296 comments

I learned PCB design, 3D printing and C just to listen to music

https://pentaton.app/blog/2026-07-12-introducing-pentaton-lp/
132•interfeco•3d ago•27 comments

GrapheneOS protections against data extraction from locked devices

https://discuss.grapheneos.org/d/40700-grapheneos-protections-against-data-extraction-from-locked...
321•Cider9986•13h ago•196 comments

What's Under Your Feet in New York City?

https://practical.engineering/blog/2026/7/21/whats-under-your-feet-in-new-york-city
113•sohkamyung•4d ago•21 comments

Show HN: Reverse Minesweeper

https://sunflowersgame.com/
80•pompomsheep•7h ago•26 comments

Using ThinkPad T480 as a mobile phone

https://grego.site/blog/thinkphone
29•marosgrego•2h ago•9 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
57•saaaaaam•2h ago•25 comments

Google Discloses $94.1B in SpaceX Stock, Marking 6% Stake

https://www.wsj.com/tech/google-discloses-94-1-billion-in-spacex-stock-marking-6-stake-91655d7c
269•1vuio0pswjnm7•7h ago•210 comments

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
90•surprisetalk•4d ago•48 comments

A shell colon does nothing. Use it anyway

https://refp.se/articles/your-shell-and-the-magic-colon
359•olexsmir•1d ago•154 comments

Rethinking legal education in the AI era

https://www.law.uchicago.edu/news/ai-strategy-statement
121•jjwiseman•3d ago•84 comments

Sum of Cubes via Difference Tables

https://leancrew.com/all-this/2026/07/sum-of-cubes-via-difference-tables/
11•surprisetalk•3d ago•2 comments