| New Reply |
How come we haven't advanced since binary code? |
Share Thread | Thread Tools |
| Mar16-11, 02:14 AM | #1 |
|
|
How come we haven't advanced since binary code?
This may sound like a stupid question, but binary code seems so "simple", but it's been with us since the 1940's. What'd be wrong with tertiary code, say?
|
| Mar16-11, 02:43 AM | #2 |
|
|
Computers process information by using pulses of electricity. Binary essentially represents this electricity. A 1 in binary is a pulse, a 0 is no pulse. I'm sure it's a bit more complicated than that, but I think that would do as a rough idea. I'm not sure if any kind of code could replace binary without fundamentally changing the way computers process information.
I'm also not sure I understand you when you say simple. In my mind, the higher level the code, the simpler it is; since it is essentially getting closer and closer to spoken language. I know that to write some of the programs I write in C or C++ in Assembly, it would be a very difficult and complex task. To write the program in binary would be unthinkable. |
| Mar16-11, 04:36 AM | #3 |
|
|
Oh, that actually makes a lot of sense. :) Thanks.
|
| Mar16-11, 10:00 AM | #4 |
|
Mentor
|
How come we haven't advanced since binary code? |
| Mar16-11, 12:29 PM | #5 |
|
|
|
| Mar16-11, 01:41 PM | #6 |
|
Mentor
|
My point was that simplicity is in the eye of the beholder. From one perspective, simplicity is being able to do complicated things with a minimum of code. For example, I remember using an implementation of BASIC that included matrix operations. (This type of BASIC ran on some kind of minicomputer back in the mid 70s.) You could add together two matrices and store the sum in another matrix using this syntax: C = A + B. Other high-level languages, such as C and Fortran, required considerably more lines of code to do the same thing.
From another perspective, simplicity could be from the point of view of what individual assembly instructions are doing, which I mentioned already. |
| Mar16-11, 02:00 PM | #7 |
|
|
|
| Mar17-11, 05:14 AM | #8 |
|
|
I vaguely remember perhaps 10-20 years ago when they were trying to cram more bits into the same space that one company announced a ram or rom that used more than just high or low voltage, instead I think they tried using 4 voltages so they could get two bits stored in the space of one transistor or capacitor.
|
| Mar17-11, 08:58 AM | #9 |
|
|
Isn't quantum computing trying to do that? From what I read (well, understood), the photon states are coupled and somehow can represent combinations of states, including both 1 and 0 simultaneously. I would like more of an explanation on how that works from someone who's more familiar with it.
|
| Mar17-11, 03:46 PM | #10 |
|
|
I suggest reading Scott Aaronson's "quantum computing since Democritus" series, on the right hand bar here (note: the alphabetical order is a little jumbled) http://www.scottaaronson.com/blog/ |
| Mar17-11, 04:24 PM | #11 |
|
Recognitions:
|
Some forms data transmissions encode more than 1 bit per frequency cycle, using combinations of amplitude and phase shifting to encode the data.
In computers themselves, some binary math operations such as addition or multiplication, are sped up by doing more stuff in parallel, to reduce the number of gate propagation delays. |
| Mar18-11, 02:12 PM | #12 |
|
|
I don't see the reason people mix base system(I guess that's what you meant with binary code) with programming languages. The programming language is just a tool to control the machine. It doesn't have anything to do with the binary system. You could use C, assembly, Python, Java even in a tertiary base or 20ary base and so on. The base is just a way to represent information.
The reason we use binary and not tertiary is because of noise. Electricity voltage is very hard to keep stable and if we used a tertiary base system then we would get false values very often with the technology we have nowadays. |
| Aug22-12, 07:30 AM | #13 |
|
|
|
| Aug28-12, 05:20 AM | #14 |
|
|
There have indeed been various computers based on non-base 2 architecture.
The IBM 650 used base 10 http://en.wikipedia.org/wiki/IBM_650 UNIVAC used 36 bit words http://en.wikipedia.org/wiki/UNIVAC_1107 However base 2 is used almost universally now because you can build computer memory efficiently with one transistor representing on/off or zero/one. Building transistor storage with 3 or more states just hasn't prove effective or efficient. DRAM rules! http://upload.wikimedia.org/wikipedi...cells_read.png |
| New Reply |
| Thread Tools | |
Similar Threads for: How come we haven't advanced since binary code?
|
||||
| Thread | Forum | Replies | ||
| Code : Binary Search Tree C++ | Programming & Comp Sci | 7 | ||
| What are all the possible 5-digit binary code combinations? | Mechanical Engineering | 7 | ||
| Need help with binary tree code | Engineering, Comp Sci, & Technology Homework | 2 | ||
| request for help - math problem using binary code | Introductory Physics Homework | 2 | ||