TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pitfalls of Object Oriented Programming (2009) [pdf]

53 点作者 gabzuka超过 10 年前

5 条评论

tbrownaw超过 10 年前
Context! Context! Context!<p>This is about game programming, and how to optimize your data to be cache- and prefetch-friendly.<p>If your data doesn&#x27;t look like game data, or isn&#x27;t accessed like game data, it won&#x27;t help and the &quot;pitfalls&quot; aren&#x27;t.
评论 #8266170 未加载
评论 #8266085 未加载
jamii超过 10 年前
I&#x27;ve really enjoyed reading <a href="http://bitsquid.blogspot.com/" rel="nofollow">http:&#x2F;&#x2F;bitsquid.blogspot.com&#x2F;</a> . It runs right from the birth of their game engine right up to the recent acquisition by Autodesk. They are heavy proponents of data-centric design with flat layouts (no pointer graphs jumping all over memory). The result is a game engine where almost anything (from rendering pipelines to physics models to ai) can be changed, compiled and live-updated on a nearby console in under a second.<p>EDIT: <a href="http://bitsquid.blogspot.com/2011/12/pragmatic-approach-to-performance.html" rel="nofollow">http:&#x2F;&#x2F;bitsquid.blogspot.com&#x2F;2011&#x2F;12&#x2F;pragmatic-approach-to-p...</a> is a particularly good overview
def-超过 10 年前
Related: <a href="http://www.dataorienteddesign.com/dodmain/dodmain.html" rel="nofollow">http:&#x2F;&#x2F;www.dataorienteddesign.com&#x2F;dodmain&#x2F;dodmain.html</a>
stcredzero超过 10 年前
We might also think of this as modern architectures being very badly suited for supporting these mechanisms for abstraction. This may indicate an opportunity.
hawleyal超过 10 年前
I wouldn&#x27;t say these are pitfalls of OO. They are merely antipatterns in OO game programming (I might add, with any high-throughput data programming).
评论 #8266179 未加载