Fun fact: people like to say that unlike Flash memory, RAM can be read or written to one byte at a time, but that's a lie. A typical DIMM's memory array can only be addressed in 64KiB blocks! Writing one byte means reading 64K, modifying one byte, and writing 64K! (1/n)
-
-
So next time someone tells you "RAM can be accessed at a granularity of one bit", remember that's not really true. It actually uses huge pages just like Flash, which is fundamental when memory is organized as a big 2D array (the page size is one dimension). (4/4)
Show this thread -
Addendum: I meant 64 kibibits (64 Kibits or 64Kib) in my original tweet, not 64 kibibytes. It's usually something like 8 bits per chip × 8 chips = 64 bits for a whole DIMM, and pages (rows) are 1024 addresses within each bank, so 65536 bits.
Show this thread
End of conversation
New conversation -
-
-
It's also nearly always handled for you in hardware so developers rarely need to care. Flash needs manual read, erase, write on nearly everything.
-
Only to the extent that "dumb" Flash controllers still exist. Modern Flash controllers will do read/erase/write/FTL for you much like DRAM controllers will open and close rows for you.
End of conversation
New conversation -
-
-
Of course it wears out. If you don't refresh the data will be gone pretty fast. :)
-
The RAM itself doesn't wear out. The data is another matter ;)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.