5 ms·
It does store data so it is a data structure. Every implementation is meant to store data and the whole point is to have more memory locality so how it stores d
by CyberDildonics 6mo ago
It does store data so it is a data structure. Every implementation is meant to store data and the whole point is to have more memory locality so how it stores data is actually crucial.
- fluffybucktsnek 6mo agoNo, not every ECS implementation is about data storage (to be more precise, component storage). This architecture's abstraction being better suited for data locality is the main appeal, yes, but many appreciate the mere separation of the GameComponent's Components into Components and Systems. So your assertion about it being strictly meant for data storage is just wrong. As [2] states: > Data is often stored in cache-friendly ways which benefits performance. Notice it says often, not always. And bear in mind, generally, data structures aren't just about storing data. They are about storing data in a very particular way.
- CyberDildonics 6mo ago(to be more precise, component storage) That's data, so it stores data, meaning it is a data structure. So your assertion about it being strictly meant for data storage is just wrong. No, using a data structure doesn't mean it isn't one. Notice it says often, not always. This doesn't matter. You're way off the map in what causes 50MB binaries. data structures aren't just about storing data. They are about storing data in a very particular way. Same thing, you're pretty deep in the replies and still not making a point.
- fluffybucktsnek 6mo ago> That's data, so it stores data, so it's data structure. Technically, the component storage is, at best, a ADS. But that's grasping at straws given that you can just store components directly in a function's stack frame. Still, the component storage isn't "the ECS" in the same way that a service injector isn't "the Clean Architecture ", even though you'll always have them in some form in each. > No, using data structure doesn't mean it isn't one. Now, where did I say that? > This doesn't matter. For the discussion of whether ECS is a data structure, it is, given that you previously stated that ECS was meant for storing data, and "often" contradicts that. > You're way off the map in what causes 50MB binaries. I haven't asserted anything about it. You did, and you have yet to prove it. > Same thing Pretty much everything stores data in someway. Which brings us back to the "kernel is a data structure in your eyes?" question from earlier. I don't think it is me who isn't making much of a point.
- CyberDildonics 6mo agoNo one knows or cares about whatever "ADS" is, injector services or 'clean architecture'. It seems like you're caught up in so much nonsense that you don't think that a class meant to store data is a data structure.
- fluffybucktsnek 6mo agoADS stands for Abstract Data Structure. ECS ain't even a class. Nothing you're saying now is making sense. Edit: checking now ADS is a too literal of a translation (English isn't my first language). The more appropriate term is ADT.
- CyberDildonics 6mo agoECS ain't even a class. ECS is an abstract term for a data structure. Have you ever programmed before?
- fluffybucktsnek 6mo ago> ECS is an abstract term for a data structure. Sources? I have cited mine for why it isn't.
- CyberDildonics 6mo agoYou want a source for saying an ecs can be implemented as a class? It's all over github.
- fluffybucktsnek 6mo agoThen, surely, you should be able to find a link to a ECS class's source easily. So where is it? Also, remember, it's not my responsibility to search to prove your arguments. Burden of proof is on the claimant, as it goes.