TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Data Oriented Design – first chapter (2018)

67 pointsby jesseduffieldover 3 years ago

6 comments

dangover 3 years ago
Past related discussions:<p><i>Data-Oriented Design (2018)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20380397" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20380397</a> - July 2019 (37 comments)<p><i>Data-Oriented Design (2013)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11064762" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11064762</a> - Feb 2016 (8 comments)
评论 #29312886 未加载
armchairhackerover 3 years ago
Some code snippets and images would really help here. Also some more concrete examples.<p>I understand the main point that data is everything, but the author&#x27;s arguments are hard to learn and go over my head.
评论 #29308545 未加载
评论 #29309017 未加载
jcelerierover 3 years ago
For anyone interested into very light forays of DoD in C++, I&#x27;ve put out this library recently which allows to have an &quot;object&quot; API on top of an array-based storage (AoS interface &#x2F; SoA implementation): <a href="https:&#x2F;&#x2F;github.com&#x2F;celtera&#x2F;ahsohtoa" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;celtera&#x2F;ahsohtoa</a>
jesseduffieldover 3 years ago
I found this chapter to be a good primer on DOD and how OO runs into trouble whenever changes need to be made
OneTimePetesover 3 years ago
To be honest i wish there was some sort of situational Design Paradigm - the VIM of languages. OO in the design of the Structures&#x2F;Debug-Data Representation, DOD in the structures and algos, functional whenever the programmer itself is represented (the &quot;marshallers and handlers&quot; in OO.)<p>Somewhere in this triangle of worlds, there is a optimum of speed, debug and reason ability and beautiful code with minimal repetition..
评论 #29308811 未加载
aeternumover 3 years ago
Specificity and examples are critical and the article lacks both. It&#x27;s somewhat ironic that the author talks about the importance of data yet offers few examples and datapoints of where this paradigm works and doesn&#x27;t work.<p>Without specificity, the merits of the design are not falsifiable.
评论 #29310971 未加载