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.

Thoughts on ECS

23 pointsby indyabout 2 months ago

5 comments

bob1029about 2 months ago
I see a lot of parallels between these ECS discussions and those had by DBAs working on SQL databases.<p>Why not use a RDBMS engine, perhaps specially tuned, to handle your game&#x27;s data? Joining arbitrary tuples together at runtime as fast as possible has been the fitness function of every commercial RDBMS vendor since inception. Latency incurred by the network hop and disk IO is probably helping to maintain an illusion that these engines are somehow fundamentally incompatible with gaming use cases.
评论 #43514178 未加载
评论 #43517177 未加载
评论 #43519214 未加载
评论 #43515390 未加载
andre-laabout 2 months ago
His &quot;Sensible ECS&quot; is basically what I did on my (simple 2D) game, just simple structs with components, and functions that operates on these components.<p>That works well, although it does not features parallelism, but still managed to run on a old laptop that can at most run Windows 7.
the_real_cherabout 2 months ago
The final paragraph has the Crux of the issue imo.<p>They admit their proposed solution of statically declaring functionality in an entity has a downside.<p>&gt; The main limitation is of course that entity types are locked down at compile-time and cannot be changed dynamically.<p>ECS is used I believe mainly in highly dynamic games.<p>His proposed alternative to statically hard code functionality in entities is great if you don&#x27;t have a dynamic functionality which a lot of games dont.<p>For games like RPGs or space exploration where you have a variety of different entities with a variety of different components you can&#x27;t really hard code things.<p>ECS is a great tool in certain situations. Not a great tool in others.
andre-laabout 2 months ago
Also, I think it&#x27;s important to say that ECS is not the only composition option, you can just use &quot;EC&quot; (or also CES): while on ECS the behavior runs on systems, on &quot;EC&quot;&#x2F;&quot;CES&quot; the behavior runs on components, which is the case on Unity (by default) and O3DE.<p>I believe the mentioned Scott Bilas famous talk about composition follows this &quot;EC&quot; model instead of ECS, except that he calls it Game Object instead of Entity.
评论 #43519157 未加载
catlover76about 2 months ago
Really didn&#x27;t realize that most people think &quot;Elastic Container Service&quot; when they hear ECS? (I could be wrong, but it&#x27;s also def not &quot;Entity Component System&quot;, so should define the thing up-front)