this post was submitted on 07 Jun 2024
749 points (97.2% liked)

Greentext

4470 readers
1256 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Aceticon@lemmy.world 4 points 5 months ago* (last edited 5 months ago)

The memory is generally done by something called a capacitor (though there are more techniques) which just can hold a little electrical charge - roughly having an electrical charge means it's a 1, otherwise it's a 0.

Get 8 of those things and you have a byte.

It's generally easier to think of it as water: electrical lines are tubes moving water, capacitors are little containers that can have water (meaning bit = 1) or be empty (bit = 0), transistors are one-way water valves which are controlled by water (imagine they have a pressure button that opens the gate if there is water running in the tube passimg by that button, putting pressure on it).

From this simple basis you can actually create a lot of complexity by having a LOT of these things combined in weird ways.

Further, there's also a lot of complexity due to the Physics of the real world being less than perfect (for example, the "capacitors" leak water, so not only do you have to say that bit=1 is "water above a certain level" rathe than "full" - since as soon as it's filled it starts losing water - but you even have to check them once in a while and top up the ones which are supposed to be full before so kuch water leaks that the level has fallen below that treated as a "1" - this is actually how DRAM memory works, though with electric charge rather than water).