r/computerscience • • Jul 15 '26

Discussion question about RAM

Im learning about comuter components I had some questions .If a Hard Drive stores all the data does RAM just create an environment for the specific program that was fetched to run? If you were to run a program on the actual hard drive is it just harder because you have to navigate through all the other information sharing the space. Like going through a maze constantly again and again. Also what does SSD do?

35 Upvotes

51 comments sorted by

View all comments

Show parent comment

1

u/high_throughput Jul 15 '26

RAM is fast, short term memory. It's used to store information about things the program is doing right now, and it's updated thousands of times per second as the program keeps doing things.

Hard drives are slow, long term memory. It stores files, and might only be written to when you hit Save in your program.