fat struct style guide?

H. S. Teoh hsteoh at qfbox.info
Tue Feb 24 16:19:05 UTC 2026


On Tue, Feb 24, 2026 at 03:56:20PM +0000, monkyyy via Digitalmars-d-learn wrote:
> On Tuesday, 24 February 2026 at 15:30:39 UTC, H. S. Teoh wrote:
> > On Tue, Feb 24, 2026 at 03:48:46AM +0000, monkyyy via
> > Digitalmars-d-learn wrote:
> > > Im going to try doing something with fat structs, what sort of
> > > syntax and api niceitys would big fat-struct advocates say are
> > > nessery?
> > 
> > What's a "fat struct"?
[...]
> Something like a "entity" that has a first member is a id allowing for
> intrusive sumtypes from void* pointers or a giant union and just allot
> of data.
[...]

So is that like ECS or something along those lines?
*Entity-Component-System.


T

-- 
Artificial intelligence will never be a match for natural stupidity.


More information about the Digitalmars-d-learn mailing list