News for hackers. Stuff that matters.
Re:Rob Pike's 5 Rules of Programming by astrobe_ on Wednesday March 18, 2026 @01:46PM (#47428870)
Data cache issues is one case of something being surprising slow because of how data is organized. That said, Structure of Arrays vs Array of structures is an example where rule 4 and 5 somewhat contradict each other, if one confuses "simple" and "easy" - Structure of Array style is "harder" because we don't see it often; but then if it's harder, it is is likely more bug-prone.

There are no comments on this comment yet.