r/AskComputerScience • u/PotatyMan • Oct 02 '25
is What Every Programmer Should Know About Memory, still relevant?
Hey guys Im a fairly new c and c++ dev, with c++ as the first language I really learnt and even then im still very much a beginner. Now as you can probably tell im interested in low level programming and computer knowledge, stuff like web dev really never excited me. I follow a youtuber Coding Jesus who I think is phenomenal if you don't know him check it out. Anyway he recommended What Every Programmer Should Know About Memory as a must read. However I did see that it is from 2007. Now if I know anything about the tech industry is that it evolves quickly, and I'm just curious to know if its still worth a read despite it being nearly 2 decades old. Also is there any more modern texts like this one? Thanks a lot.
4
u/ir_dan Oct 02 '25
https://stackoverflow.com/questions/8126311/how-much-of-what-every-programmer-should-know-about-memory-is-still-valid
11
u/two_three_five_eigth Oct 02 '25 edited Oct 02 '25
The information is still correct. Most computers use DRAM and DRAM still works the same way as explained.
The question is how valuable (aka relevant) is it to helping you write better software. I’d say “not very”.
There are several other things like CPU caches and virtual memory I would worry much more about than the electrical engineering side of RAM.
Unless you are operating systems programmer a memory access has several layers of abstraction on it anyway.
Most programmers don’t have a handle on how the OS works, which affects them much more than this.
Edit: skimmed through all the articles in the series. All the info is still correct, and very detailed. You would learn this taking an architecture course and a OS course.
1
u/SnooStories6404 Oct 02 '25
Yes
1
u/sayzitlikeitis Oct 02 '25
Yes it is still relevant, especially if you use a language that makes you manage your own memory like c++. Even with languages that manage their own memory, it's useful to be aware of how their garbage collection works etc.
1
u/EdelgardH Oct 02 '25
I think its relevance is less important than how likely you are to actually finish it. If the subject matter doesn't interest you, you won't.
People are not very good at recommending books as a general rule. They recommend books they have positive emotional associations with, sometimes people recommend books they've never personally read but have heard of.
So it's possible you could read Jesus's recommendation as "I remember reading about how memory worked and it seemed helpful to me."
I will say that the best thing studying fundamentals can do is give you confidence.
1
u/an-la Oct 06 '25
Computers are still based on the Von Neumann architecture, and as such, memory design and architecture is still relevant. In the future, a different design may emerge that alters this. Until then, high-performance applications will need to optimize memory access.
1
u/FrequentHeart3081 Oct 02 '25 edited Oct 04 '25
No, 👎😔 It's all irrelevant now. You needed to know memory when computers used binary machine code as their memory language. Now they can understand Java, JavaScript, Python, and even C, C++. I honestly don't understand why anyone would need memory at all let alone understanding how it works. If you want to do System Programming, just use C.
/sarcasm🤌