Re:Linear Address Spaces: Unsafe at any speed
by moonchild on Wednesday June 29, 2022 @11:37PM
(#31928493)
As far as I can tell, the 'structure of arrays' design pattern appeared in the game development world some time around 1998-2005. Columnar layouts have been known for upwards of 50 years now, as has the general notion that the way you lay out and represent your data matters and can be adjusted at will for your use cases. Many different layouts and optimisation structures are known and have been used, esp. in databases.
[ Parent
| on HN ]
Re:Linear Address Spaces: Unsafe at any speed
by hinkley on Thursday June 30, 2022 @12:42PM
(#31935117)
Blow isn’t inventing structs of arrays. It’s as you say a common gaming idiom and one he’s used before. What he was doing is trying to make it a first class citizen. Very few languages do anything for these. None of the language I use have iterator that work for this. You have to write your own bookkeeping logic every time.