Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Bobdude161

macrumors 65816
Original poster
Mar 12, 2006
1,215
1
N'Albany, Indiana
This is a theory based off what I have learned. Must have an understanding of binary to continue.

In our hard drives we use on and off to represent ones and zeros that make up all our data. Many things that are stored on there are ASCII letters and numbers, MP3s and JPEGs. ASCII uses 8 bits, MP3s use 128 bits and JPEGs use 24 bits. (Correct me if I'm wrong here). Each format is divisible by four. When we want to represent the letter "a" in binary we use "01100001", because we are limited to two options 1 and 0. Since a lot of our data formats are more or equal to 4 bits most times (right?) we can find other ways to represent data than just ones and zeros. Instead of 1 and 0, how about 0-7? Confused yet? Lemme explain.

Instead of using binary, we could use quartets. So instead of using "0110 0001" to represent "a" we could use "6 1". 0110 = 6 and 0001 = 1. Now how would 0-7 be represented on a physical data storage device? Not with on and off but with 8 different possible states. 8 states for each number 0-7. Those 8 states could be represented by 8 different pit depths for optical drives or 8 different magnetic states for HDs. Having 1 quartet state instead 4 binary states could increase storage capacity quite a bit.

I'm not sure how CPUs could use this kind of addressing. Maybe using different levels of electrical power for those 8 states. It's all kind of hurting my head right now. :confused:

Does this make sense? Could this really be used? Or is it more complicated than generalizing 4 bits into one quartet? Thoughts?
 

dmr727

macrumors G4
Dec 29, 2007
10,420
5,159
NYC
Google both the octal and hexadecimal (base-8 and base-16) numbering systems. Since just about all our digital circuits are transistor based (i.e. on or off), binary tends to be the flavor of choice.
 

r.j.s

Moderator emeritus
Mar 7, 2007
15,026
52
Texas
While technically possible. I don't see it happening. Everything for a computer would have to be redone, and what would be the real benefit?
 

chrmjenkins

macrumors 603
Oct 29, 2007
5,325
158
MD
The format you're suggesting is actually octal format (or base 8). To convert a binary number to any base that is a power of two, you simply section off the bits x at a time, where x is the power of two of the base you're converting to, and translate those blocks into numbers.

As for optical drives, depth of pits wouldn't work. The pits are used to scatter the light, depriving a detector of picking up a reflection. A pit is simply going to scatter the light until you make it so shallow that it behaves like a land. To do anything to a finer degree would become prohibitively complex.

As for CPUs, this wouldn't work either. The advantage of a binary system is that you high two clearly defined voltages, Vd and Ground. Having only two states allows for some variance, or more properly defined as noise, without losing the actual data. To try and represent more data approaches analog circuits, which, while carrying more information in a single signal, must also permit some amount of imprecision.

Quantum computers, which use qubits for information storage, actually have more than two states per qubit (it's actually four). Although I'll admit I don't now a great deal about these systems, they are very interesting, and they will be the standard in 50 or so years' time.
 

yg17

macrumors Pentium
Aug 1, 2004
15,027
3,002
St. Louis, MO
Pretty much what everyone else said.

Everything can be represented as on or off, whether it's magnetic like a hard drive, a pit like a CD, electricity like a connector (CPU, USB, SATA, DVI, etc) or light like fiber. That allows some variance. For example, the laser at the end of the fiber may have to be a certain brightness, but some variance is allowed as long as the receiver at the other end can tell if it's on or off. Using different brightnesses to represent multiple values would require extreme precision which would not be cost prohibitive. Same with electricity levels, pit depth, etc. Using 1s and 0s allows devices to be less than perfect.
 

sushi

Moderator emeritus
Jul 19, 2002
15,639
3
キャンプスワ&#
There have been computers that do use a system other than binary.

One historical exception are the few balanced and non-balance ternary computers.
 

m85476585

macrumors 65816
Feb 26, 2008
1,226
4
Maybe the magnetic bits in a hard drive could be set to 8 different angles, but I think it would be much more expensive and complicated, and it would be easier to lose data if one bit moves a little.

CPUs and memory probably have to remain binary.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.