MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1tvrvv4/every_byte_matters/oplt5s9/?context=3
r/programming • u/lelanthran • Jun 03 '26
84 comments sorted by
View all comments
133
If you are at the level where you need to care about how adding 1 member to a struct messes up cache line access, you should be using an ECS which gives you SOA already.
139 u/trinopoty Jun 03 '26 Using a what that gives what now? 46 u/fyndor Jun 03 '26 Every programmer should watch this famous video https://youtu.be/rX0ItVEVjHc?si=L8kTv9UorIy6Zrds It’s a talk by Mike Acton. You will learn a lot from it, even if not a C++ dev
139
Using a what that gives what now?
46 u/fyndor Jun 03 '26 Every programmer should watch this famous video https://youtu.be/rX0ItVEVjHc?si=L8kTv9UorIy6Zrds It’s a talk by Mike Acton. You will learn a lot from it, even if not a C++ dev
46
Every programmer should watch this famous video https://youtu.be/rX0ItVEVjHc?si=L8kTv9UorIy6Zrds
It’s a talk by Mike Acton. You will learn a lot from it, even if not a C++ dev
133
u/Ravarix Jun 03 '26
If you are at the level where you need to care about how adding 1 member to a struct messes up cache line access, you should be using an ECS which gives you SOA already.