Hacker News new | ask | show | jobs
by CyberDildonics 58 days 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.

1 comments

> 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.

No 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.
ADS 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.

ECS ain't even a class.

ECS is an abstract term for a data structure. Have you ever programmed before?

> ECS is an abstract term for a data structure.

Sources? I have cited mine for why it isn't.

You want a source for saying an ecs can be implemented as a class? It's all over github.