News for hackers. Stuff that matters.
Re:Unity patents ECS by coldcode on Tuesday September 07, 2021 @03:48PM (#28449024)
It's basically describing using a slab allocator to arrange the entities. How is this new art?
Re:Unity patents ECS by shock-value on Tuesday September 07, 2021 @04:27PM (#28449480)
I don't know the details of slab allocators. Though if you are describing an allocator that does not have knowledge of what the memory is being used for (e.g. the difference between asking the allocator for memory for a position component defined as three floats and also a color component also coincidentally defined as three floats, versus asking the allocator for two sets of three floats without regard to their intended usage), then it is not the same.
Re:Unity patents ECS by jlokier on Tuesday September 07, 2021 @08:32PM (#28451535)
Some slab allocators are type aware, because some of them reset "freed" items into a type-specific initialised state ready for re-use