r/computerscience • u/TranslatorParty4662 • Dec 30 '23
WTF does ram actually do?
I know that RAM stores data for quick use for the CPU. But I want to know more, what does RAM actually do when its storing data. Like when I'm playing a game is RAM responsible for keeping track of how many bullets I shoot. If there are any game developers reading this please let me know. What kind of information does RAM store and how and when does it use it. The main thing I use my pc for is gaming and recording/video editing so how would RAM play a role in those things?
261
Upvotes
View all comments
1
u/Dylan_TMB Dec 30 '23
Think of RAM as the same thing as your SSD. But waaaaaay faster. But it needs power to hold information, unlike a hard drive, and it's more expensive per Gb. So hardrives are used to store things long term and RAM is used to hold all the active things.
So faster RAM means things run smoother since all the information states can be changed quicker. And more RAM means more information can be held at once.