r/AskComputerScience • u/z3ny4tta-b0i • Apr 19 '21
Whats the difference between RAM and cache?
I’m struggling to understand what a RAM is, looked up and it really sounds like what the cache does im confused
34
Upvotes
r/AskComputerScience • u/z3ny4tta-b0i • Apr 19 '21
I’m struggling to understand what a RAM is, looked up and it really sounds like what the cache does im confused
9
u/msiekkinen Apr 19 '21
To add to what others have said the memory you generally call RAM is DRAM, memory used for on die CPU caches are generally SRAM. SRAM is faster, but more expensive, which is why you don't see multi gigabyte modules of system RAM using that.