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

1 comments

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