# What's Random about Random Access Memory?

**URL:** <https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997>\
**Category:** Factual Questions\
**Created:** [February 13, 2007, 8:37am UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997 "2007-02-13T08:37:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)\
**Post date:** [February 13, 2007, 8:37am UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/1 "2007-02-13T08:37:36Z")

</div>

Well?

-FrL-

---

<div class="post-metadata">

**Author:** ![si\_blakely](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@si\_blakely](https://boards.straightdope.com/u/si_blakely)\
**Post date:** [February 13, 2007, 9:09am UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/2 "2007-02-13T09:09:01Z")

</div>

[QUOTE=Frylock]  
Well?

-FrL-  
[/QUOTE]  
Back in the infancy of computers, designers realised that they needed to store data for a period of time. Lots of schemes were utilized - my FIL told us of a system he used that had a long pipe filled with Mercury. At one end was a speaker and at the other was a microphone. Sound pulses representing bits were fed in at one end and read out at the other, after a specific period of time (speed of sound in Mercury). Other schemes used “bucket brigades” - switched capacitor/resistor networks.

All of these memory schemes read data out in the order that the data was fed in - they were Sequential Access Memory. If you wanted a specific byte, you had to wait for it.

Random Access Memory lets you put data in at any point, and read any other arbitrary data, at any time. Of course, you do often access sequential data repeatedly (this is why CPUs provide cache), but you **can** access any data you want without waiting for a data cycle to finish.

Si

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [February 13, 2007, 9:10am UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/3 "2007-02-13T09:10:22Z")

</div>

‘Random’ in this context means ‘not sequential’ - You can access any part of it by going straight there and reading it, rather than having to zip through all of it sequentially until you reach the part you want.

---

<div class="post-metadata">

**Author:** ![Spectre\_of\_Pithecanthropus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/spectre_of_pithecanthropus/32/12343_2.png) [@Spectre\_of\_Pithecanthropus](https://boards.straightdope.com/u/Spectre_of_Pithecanthropus)\
**Post date:** [February 13, 2007, 10:34am UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/4 "2007-02-13T10:34:54Z")

</div>

[QUOTE=Mangetout]  
‘Random’ in this context means ‘not sequential’ - You can access any part of it by going straight there and reading it, rather than having to zip through all of it sequentially until you reach the part you want.  
[/QUOTE]

It’s like a CD, or even a vinyl LP, versus a tape recording. With the tape, to get to a song halfway through a side, you have to either play or fast-forward (or rewind) through all the intervening content. With the CD you can instantly go to the song you want (or with the LP put the needle down wherever, but the principle is the same).

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [February 13, 2007, 11:22am UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/5 "2007-02-13T11:22:08Z")

</div>

But perhaps the name “Arbitrary Access Memory” would have fit better.

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [February 13, 2007, 1:27pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/6 "2007-02-13T13:27:59Z")

</div>

These days it’s somewhat of a misnomer, since non-linear storage devices like hard drives and CDs also provide random access. But back in the day, primary storage was on tapes, which had to be accessed sequentially (if you make the tape player change speed and direction too often you risked breaking the tape. Then you’re truly hosed.)

---

<div class="post-metadata">

**Author:** ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)\
**Post date:** [February 13, 2007, 3:40pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/7 "2007-02-13T15:40:06Z")

</div>

Did “Random” once mean “non-sequential” in other contexts then?

I don’t think it has that meaning anymore. (Its use in the phrase ‘random access memory’ would have to be called a “holdover” or something, I think.)

-FrL-

---

<div class="post-metadata">

**Author:** ![CookingWithGas](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cookingwithgas/32/485_2.png) [@CookingWithGas](https://boards.straightdope.com/u/CookingWithGas)\
**Post date:** [February 13, 2007, 3:40pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/8 "2007-02-13T15:40:10Z")

</div>

I’ll bet \*\*Frylock \*\* knows \*exactly \* what Random Access means. I think the question is really, “Why do we call it ‘random’?” I do not know the earliest use of “random” in this sense, nor why that word was chosen when it seems clearly inappropriate. One might guess that it means fetching a byte according to a address from a pseudo-random number generator.

It is sometimes also called “direct access.” A popular IBM acronym is DASD–Direct Access Storage Device, which means “hard disk.” Ya gotta love IBM.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [February 13, 2007, 3:47pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/9 "2007-02-13T15:47:19Z")

</div>

I think it might be better described as _addressable storage_ as opposed to _sequential storage_, but ‘random’ here appears to have arisen from the notion that _you don’t have to access it in any set way at all - you could even access it randomly, if you wanted to_.

---

<div class="post-metadata">

**Author:** ![aldiboronti](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@aldiboronti](https://boards.straightdope.com/u/aldiboronti)\
**Post date:** [February 13, 2007, 3:57pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/10 "2007-02-13T15:57:25Z")

</div>

I think random is the perfect word. You don’t have to access the information beginning at a particular point; you can access it randomly, wherever you please.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [February 13, 2007, 4:01pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/11 "2007-02-13T16:01:29Z")

</div>

The thing that’s tripping people up is the _unpredictable_ connotation of the word - as if to imply that you can put all your data in there, but which bit you’ll get back is anybody’s guess.

---

<div class="post-metadata">

**Author:** ![Sunspace](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sunspace/32/1250_2.png) [@Sunspace](https://boards.straightdope.com/u/Sunspace)\
**Post date:** [February 13, 2007, 5:29pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/12 "2007-02-13T17:29:17Z")

</div>

In electronics school (Sheridan College, electronics engineering technology, class of '85), we learned that another meaning of the acronym RAM was “read-and-alter memory”. It parallels nicely with “read-only memory” for ROM. Sadly, “random-access memory” seems to have won out.

Incidentally, for many years, the Royal Ontario Museum in Toronto has been known as “The ROM”. I believe this usage predates the electronics industry. It made perfect sense to me: it’s a museum; of _course_ it’s read-only memory!

There is now a Royal Alberta Museum in, I believe, Edmonton. It is, of course, the RAM. 🙂

---

<div class="post-metadata">

**Author:** ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)\
**Post date:** [February 13, 2007, 6:09pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/13 "2007-02-13T18:09:29Z")

</div>

[QUOTE=CookingWithGas]  
I’ll bet \*\*Frylock \*\* knows \*exactly \* what Random Access means.  
[/QUOTE]

I didn’t mean to give the impression that I was trying to give an impression otherwise. I asked “why call it random,” not “what does random access mean.”

-FrL-

---

<div class="post-metadata">

**Author:** ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)\
**Post date:** [February 13, 2007, 6:10pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/14 "2007-02-13T18:10:44Z")

</div>

[QUOTE=aldiboronti]  
I think random is the perfect word. You don’t have to access the information beginning at a particular point; you can access it randomly, wherever you please.  
[/QUOTE]

I guess I’ve never heard the word used that way except in the phrase “random access memory.”

-FrL-

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [February 13, 2007, 6:21pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/15 "2007-02-13T18:21:30Z")

</div>

And, of course, there’s the old computer joke about specifications for a write-only memory. It was a long time before I realized that there’s already at least one application where write-only memory is actually practical and already used.

---

<div class="post-metadata">

**Author:** ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)\
**Post date:** [February 13, 2007, 6:36pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/16 "2007-02-13T18:36:33Z")

</div>

[QUOTE=Chronos]  
And, of course, there’s the old computer joke about specifications for a write-only memory. It was a long time before I realized that there’s already at least one application where write-only memory is actually practical and already used.  
[/QUOTE]

…do go on…?

-FrL-

---

<div class="post-metadata">

**Author:** ![EllisDee](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ellisdee/32/4531_2.png) [@EllisDee](https://boards.straightdope.com/u/EllisDee)\
**Post date:** [February 13, 2007, 6:41pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/17 "2007-02-13T18:41:06Z")

</div>

It is random from the computer’s point of view. There is no way to predict what the user is going to do, which means the next memory access is pretty much random.

ETA: An example of write-only memory is a book.

---

<div class="post-metadata">

**Author:** ![si\_blakely](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@si\_blakely](https://boards.straightdope.com/u/si_blakely)\
**Post date:** [February 13, 2007, 7:32pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/18 "2007-02-13T19:32:15Z")

</div>

[QUOTE=Ellis Dee]  
ETA: An example of write-only memory is a book.  
[/QUOTE]  
A book is write-once read-many. Write-Only memory **cannot** be read.

/dev/null is write-only memory.

Si

---

<div class="post-metadata">

**Author:** ![EllisDee](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ellisdee/32/4531_2.png) [@EllisDee](https://boards.straightdope.com/u/EllisDee)\
**Post date:** [February 13, 2007, 7:39pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/19 "2007-02-13T19:39:27Z")

</div>

[QUOTE=si\_blakely]  
A book is write-once read-many. Write-Only memory **cannot** be read.

/dev/null is write-only memory.

Si  
[/QUOTE]  
Ha, good point. I was thinking of the old rant about how we already have these great, lightweight, portable, full-color high-resolution devices for reading.

_Write_-only, not read-only. My bad.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [February 13, 2007, 9:44pm UTC](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997/20 "2007-02-13T21:44:07Z")

</div>

> [@](#):
>
> …do go on…?

The key is to think about it in analogy with read-only memory. ROM doesn’t actually mean that the memory can’t be written at all; that would be just as useless as a memory which couldn’t be read at all. What “read-only” actually means is that it’s much more difficult and expensive to write it than it is to read it, such that it’ll probably only ever be written once, at time of manufacture.

A write-only memory, then, would be a device which it’s easy to write to, but which can be read only with difficulty, perhaps requiring the device to be unmade in the process of reading. And this is exactly the sort of memory needed for an accident data recorder (airplane “black box”, or the equivalent). The airplane systems are always writing data to the black box, but you hope to never read it, and even if you do, you only need to read once, and it’s OK if you need to take apart the box to do so.

[Next page](https://boards.straightdope.com/t/whats-random-about-random-access-memory/391997.md?page=2)
