News for hackers. Stuff that matters.
Re:Revisiting the principles of data-oriented programming by jackosdev on Sunday June 26, 2022 @09:29AM (#31883751)
This confused me as when I hear data-orientated I think data structures that are optimised around minimising CPU cache misses by using better alignments, using enums where possible, not storing results of simple calculations etc. There is a popular book and popular talks on the subject. Probably confuses other people as well I'd imagine
Re:Revisiting the principles of data-oriented programming by bob1029 on Sunday June 26, 2022 @10:18AM (#31884231)
> I think data structures that are optimised around minimising CPU cache misses by using better alignments, using enums where possible, not storing results of simple calculations etc.

You might be surprised to learn that modeling your problem in terms of normalized relational tables ultimately achieves similar objectives. The more normalized, the more packed you will find their in-memory representations.

Re:Revisiting the principles of data-oriented programming by viebel on Monday June 27, 2022 @07:41AM (#31893156)