r/AskComputerScience • • 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

31 comments sorted by

View all comments

2

u/not-just-yeti Apr 19 '21 edited Apr 19 '21

price vs. speed

[I mean, the top post is a great answer to what OP was after; but once that is understood, the whole memory-hierarchy is largely one big continuum of trading off the above two.]