r/programming • • Jul 13 '23

What Every Programmer Should Know About Memory

https://people.freebsd.org/~lstewart/articles/cpumemory.pdf

This resource is starting to get a bit older. But it's such a good resource for learning about memory.

Hope you like it (it's a pdf)

296 Upvotes

156 comments sorted by

View all comments

Show parent comment

1

u/ShinyHappyREM Jul 13 '23

0

u/LookIPickedAUsername Jul 13 '23

It's just not true that failure to understand things like this is "why Word takes 30 seconds to boot" as the presenter claims.

There's no doubt that Word is doing a lot of stupid things during startup that make it take much longer than it should, but something like that never, ever goes from 30s to 1s due to low-level performance optimizations. Low level optimizations might get you from 30s to 28s, but the other 27s of potential improvements is going to be down to higher-level shit like "defer loading all of these seldom-needed modules".