Slashdot Mirror


Ternary Computing

eviltwinimposter writes: "This month's American Scientist has an article about base-3 or ternary number systems, and their possible advantages for computing and other applications. Base-3 hardware could be smaller because of decreased number of components and use ternary logic to return less than, greater than, or equal, rather than just the binary true or false, although as the article says, '...you're not going to find a ternary minitower in stock at CompUSA.' Ternary also comes the closest of any integer base to e, the ideal base in terms of efficiency, and has some interesting properties such as unbounded square-free sequences. Also in other formats."

375 comments

  1. The future holds that... by purduephotog · · Score: 3, Insightful

    ... the choices will be 0, 1, and Maybe :)

    Actually not a bad step- I wonder when they look at quantum computers using light ... this might be an easier step to integrate. There was a previous article here talking about light based quantum computing- give it a few years :)

    1. Re:The future holds that... by LS · · Score: 2

      Not a bad step? Towards what? What do you mean, an easier step to integrate? I don't understand much about quantum computers using light. What does ternary computing have to do with quantum computers using light?

      --
      There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
    2. Re:The future holds that... by hoggoth · · Score: 1

      > ... the choices will be 0, 1, and Maybe :)

      This will be very useful in modelling politics.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    3. Re:The future holds that... by Tumbleweed · · Score: 4, Funny

      > the choices will be 0, 1, and Maybe

      You're all wrong.

      There can BE only ONE!

      :)

    4. Re:The future holds that... by Anonymous Coward · · Score: 0

      And his name is NEO! :)

    5. Re:The future holds that... by zeno_2 · · Score: 1
      What does ternary computing have to do with quantum computers using light?

      Hmm.. Maybe it is 2 different types of computers that try to solve a lot of the problems we have now with traditional computers..

    6. Re:The future holds that... by purduephotog · · Score: 3, Insightful

      Light has infinite wavelengths (not in reality as only certain wavelenghts are emitted, but you can combo those with different techniques to get infinite). I'm sorry you don't undertand much about quantumn computers constructed with light- i suggest reading up on it.

      Since you have an infinite number of selections to choose from, and as was demonstrated that base E is the most efficient to represent numbers in (ie, infinite representation in base e is better than other bases), then it stands to reason that quantumn computers based on light should be designed to utilize base e, but since that isn't very practical ternary might be the first logical step.

      And howcome I got rated offtopic? Quantumn computing is the logical next application of ternary computing, since binary is pretty much entrenched in everything from your local computre reseller to every time you toss a dime for 'heads or tails'.

    7. Re:The future holds that... by ReelOddeeo · · Score: 2

      the choices will be 0, 1, and Maybe

      So does this mean that computers and consumer electronics devices' power switches would stop being labeled with just 0 and 1?

      Doesn't it make sense that your Ternary computer from BestBuy would have a three state power switch?

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    8. Re:The future holds that... by Amazing+Quantum+Man · · Score: 1

      So does this mean that computers and consumer electronics devices' power switches would stop being labeled with just 0 and 1?

      Doesn't it make sense that your Ternary computer from BestBuy would have a three state power switch?


      Nah... It'll just use three-phase AC as it's power supply!

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
    9. Re:The future holds that... by jmccay · · Score: 1

      Although I like the idea, there will be a new set of downfalls. IEEE floating point notation for one. Is there one for ternary number systems? Then you have consider which numbers can't be represented with the new system. Binary has been around for a while and most of the number errors have become invisible to us. I am sure there will be other things to consider.
      The article doesn't cover your suggestion. I know that true, false, and maybe (or unknown) is used in databases. NULL usually means unknown.

      --
      At the next eco-hypocrisy-meeting, count the private jets used to get to the meeting. Should be interesting to see that
    10. Re:The future holds that... by nihilogos · · Score: 2

      I wonder when they look at quantum computers using light

      Quantum computers using photons is a good idea because photons are very well insulated from noise and decoherence, however it is a bitch to make them interact with each other for the same reason, so gates like controlled nots will be next to impossible to implement.

      There is, however, a non-deterministic QC based on linear optics where multi-qubit work gates 1/16th of the time or something. I don't expect it will ever be useful for doing real computing though

      The paper is here.

      --
      :wq
    11. Re:The future holds that... by Anonymous Coward · · Score: 0

      (insert lame joke about how your computer might be working or not under Windows)

    12. Re:The future holds that... by Anonymous Coward · · Score: 0

      bzzt! Highlander, not Matrix.

    13. Re:The future holds that... by Nullsmack · · Score: 1

      eh, I don't know about the suggested "true, false and maybe" operation about trinary.. I doubt it would work like that..
      More like 0,1,2.
      geez, binary is just base2.. our numbering system is base10.. hexadecimal is base16, octal is base8.. trinary would just be base3. There are ways of doing math in all base forms.. since it's similar anyways. BTW, all numbers can be represented with any base system. heh.

    14. Re:The future holds that... by nomadic · · Score: 2


      I don't understand much about quantum computers using light

      Nobody knows much about quantum computers using anything...

    15. Re:The future holds that... by taliver · · Score: 1

      BTW, all numbers can be represented with any base system. heh

      How about fractions in base-1?

      .1 = 1
      .11 = 0.5
      .111 = 0.25
      .1111 = 0.125

      And thus how would you represent 0.2?

      --

      I demand a million helicopters and a DOLLAR!

    16. Re:The future holds that... by tolan's+my+name · · Score: 1

      Not sure wether you mean base 1 or base -1, but either way your post is bunk.

      In base 1 the [unial] point is irrelevent since 1/1 = 1. Hence n = number of 1s

      In base -1 [if we assume that's a reasonable extension of our base system] we have [decimals on the right] 1 = -1, 11 = 0 [as -1*-1 = 1, 1+ -1 =0], 111 = -1 again. .1 = -1 [as 1/-1 = -1], .11 = 0 etc etc. We can get -2 by 1.1 but thats it, we cannot reproduce the entire set of intergers.

      and therefore these are not in any meaningful sense bases

    17. Re:The future holds that... by taliver · · Score: 1

      Ok, so you were defining bases as "A base is a system that I can represent any number in" Thus, the statement "Any number can be represented in any base" seems very silly. I was attempting to point out that base one (unary), cannot represent fractions, but it is still considered a base.

      And I had never attempted to do fractions in unary before, so I was attempting as decent translation as I could, saying that

      .1111 = 1/(1+1+1+1). I understand that's not how you'd normally represent fractions in unary. But since unary isn't a system with positions to begin with, I'm not sure why it'd be wrong.

      --

      I demand a million helicopters and a DOLLAR!

  2. would this... by zentigger · · Score: 1

    mean we could finaly get a computer to tell us how warm our tea is?

    --

    the above is my personal opinion and does not necessarily reflect that of the little voices in my head

    1. Re:would this... by Anonymous Coward · · Score: 0

      Or perhaps computer that could tell us *why* we would like "just dried leaves in boiled water"?

      Douglas Adams, the world will miss ye

    2. Re:would this... by Anonymous Coward · · Score: 0

      sad thing is ... he died the night before he was supposed to speak at graduation/commencement for our school :(

  3. ternary...3d?? by EDDY+CURRENT · · Score: 1

    This is just a conspiracy to make us think in 3 dimensions. Get over it, the world is flat, it is only two dimensional.. I don't care how many PRO-E models there are........

  4. Does this mean by Amazing+Quantum+Man · · Score: 4, Funny

    They've finally invented my favorite circuit... the Maybe gate?

    --
    Fascism starts when the efficiency of the government becomes more important than the rights of the people.
    1. Re:Does this mean by SecretAsianMan · · Score: 3, Funny

      They've finally invented my favorite circuit... the Maybe gate

      Good... Hopefully this will let us design computers with much less Bill gates.

      --

      Washington, DC: It's like Hollywood for ugly people.

    2. Re:Does this mean by Luyseyal · · Score: 2

      All those modal logic guys can finally implement the decidable portions of their theory without base-level translation. woot. or wait, I forgot about all those other truth value schemes... like the boolean complete truth value system. drat.

      <g>
      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    3. Re:Does this mean by Glytch · · Score: 2

      Dear god, Intercal in hardware. I'll never sleep again.

    4. Re:Does this mean by Huge+Pi+Removal · · Score: 1

      Hey, you want to see some fun gates? Check out my homepage (http://www.bits.bris.ac.uk/oliver/story/Antinomia lism.html).

      It's a story about invisible logic gates that lose numbers. Lots of quantum stuff in there too!

      --
      - Oliver

      The right to bear arms is only slightly less stupid than the right to arm bears...
  5. Faster to just get rid of 0's by heliocentric · · Score: 1

    Those pesky fat zero's are what's clogging up the communications, compared to those sleek 1's that just fit down the wires so easily.

    If you are worried about zero saturation, do check out this site.

    --
    Wheeeee
    1. Re:Faster to just get rid of 0's by Happy+Monkey · · Score: 2, Funny

      And just think of the 2's! They'll get hooked around the slightest obstruction, and all the other numbers, causing constant clogging. And if the added number is -1, that's adding TWO SYMBOLS per bit instead of one!

      --
      __
      Do ya feel happy-go-lucky, punk?
    2. Re:Faster to just get rid of 0's by decoydog · · Score: 1

      it would make more sense if people used smaller fonts for all their internet communication instead of trying to get rid of the 0's.

    3. Re:Faster to just get rid of 0's by Black+Acid · · Score: 2
      Those pesky fat zero's are what's clogging up the communications, compared to those sleek 1's that just fit down the wires so easily.
      Actually, this statement has some truth to it. Particularly T1's (DS1 Hi-Caps) use the 1s to time repeaters. 12.5% 1s density is required, which is why B8ZS (bipolar 8-zero substitution) is needed. In short, B8ZS substitutes every 4 bits for 5, eliminating any series of eight 0s.

      In fact, T1 test equipment has the test patterns all 1s and all 0s. Guess which transmits faster...

  6. The Soviets were doing ternary 20 years ago... by Anonymous Coward · · Score: 0

    ...but the heat dissipation from all those vacuum tubes was enormous.

  7. Less than, greater than, or equal? by Skip+Head · · Score: 1

    I thought the three states were 'true', 'false' and 'I don't know'.

    Just think: programs would be able to make excuses instead of errors.

    --
    Most evil is done by good people, and not by accident, but deliberately; motivated by high ideals toward virtuous ends.
    1. Re:Less than, greater than, or equal? by po_boy · · Score: 5, Funny
      I thought the three states were 'true', 'false' and 'I don't know'.

      Nope: one, zero, and CowboyNeal.
    2. Re:Less than, greater than, or equal? by Anonymous Coward · · Score: 0

      You think you're being funny, but that is the basic principle behind fuzzy logic, which forms the base of a lot of AI applications.

    3. Re:Less than, greater than, or equal? by Anonymous Coward · · Score: 0

      Maybe they're "true", "false", and "whatever"

    4. Re:Less than, greater than, or equal? by jcarney · · Score: 1

      "True", "False" and "Who wants to know?"

    5. Re:Less than, greater than, or equal? by Squiffy · · Score: 1

      "On", "Off", and "Door".

  8. well known by 4im · · Score: 2, Insightful

    In theoretical CS classes, we learned all about it, it's not exactly news.
    The thing is, it's simpler to manufacture binary logic than ternary.
    So, no big deal really... the choices were made some time ago.
    Next step: quantum computing.

  9. Yawn! by Anonymous Coward · · Score: 0

    Other bases more efficient than base 2 with today's hardware? Bah humbug. I've seen proposals for increasing the base size and none of them account for the fact that you must implement hardware to compute with these monsters to accomplish any useful task. So far, the most efficient (transistor-wise) designs involve base 2. I have yet to see practical logic gates for non base two systems.

  10. Not base3 again by GunFodder · · Score: 4, Insightful

    Seems like someone has to bring up base3 computing every once in a while, just like asynchronous circuit design. I'm sure there are plenty of reasons why they are technically superior. But it has taken us 50+ years to get to this point with synchronous circuit design and binary logic. It would take many years to get to this point using totally new technology, and in the meantime the current computer industry would continue to grow exponentially. I'll believe in these technologies when I see a useful example of them.

    1. Re:Not base3 again by Anonymous Coward · · Score: 0

      Asynchronous circiut design actually gets used, although it's generally embedded as a subcomponent of a synchronous system. The hard part is totally asynchronous _systems_ not just circuits.

    2. Re:Not base3 again by Mannerism · · Score: 3, Interesting

      I agree that a practical ternary computer is unlikely. Rather, the value of the theory might lie in helping us to realize the shortcomings of the binary approach, and the way our familiarity with it molds our thinking. How many of us would have come up with the ternary solution to the coin balance problem?

    3. Re:Not base3 again by Tom7 · · Score: 3, Insightful


      The reason that the computer industry grows exponentially is exactly these kinds of paradigm-changing technologies.Most of these have happened in manufacturing processes, but I think as we exhaust that field we will be pushing the changes higher up the architecture. (x86, your days are numbered!)

      That said, base 3 is probably pretty stupid. Asynchronous circuits, however, might really make a difference some day...

    4. Re:Not base3 again by Cassandra · · Score: 1

      ...asynchronous circuit design. I'll believe in these technologies when I see a useful example of them.


      Large parts of the FPU in modern CPUs are asynchronous.

    5. Re:Not base3 again by Anonymous Coward · · Score: 0

      the cisc instruction decoder in the p4 is asynchronous as well

    6. Re:Not base3 again by thogard · · Score: 1

      Where did you get the 50+ years.... most of the early tube computers are base 10 not base 2.

  11. Ternary has been known to be efficient... by ponos · · Score: 5, Informative

    Try reading Knuth's The Art of Computer Programming, Vol. 2, Section 4.1, Positional
    Number Systems.

    There is an extended discussion on the balanced
    ternary system and some other exotic number
    systems (base 2i etc). There are some merits
    to the ternary system but it would be
    harder to implement with transistors.

    1. Re:Ternary has been known to be efficient... by Asic+Eng · · Score: 5, Informative
      but it would be harder to implement with transistors.

      Very apt. A binary transistor has two states, idealized "on" and "off". From a more analog view that's low current and high current - appropriately connected with a resistor that results in low and high voltages.

      The nice feature is, that a high voltage at the input opens the transistor, a low voltage closes it. So we get a relatively complete system, I can get from hi to lo, from lo to hi.

      Tertary would put us into "middle" voltage. But middle on the input, creates middle on the output, no direct way to get either high or low - making basic circuits more complex.

      But the real killer with "middle" is manufacturing. Let's say we use 2.8 Volts for the high level, 0.2 Volts for the low level. Due to manufacturing tolerances some chips transistors would be "fully" open at 2.3 Volts, others at 2.7 Volts. Easy to compensate on binary designs, you just use the 2.8 to switch the transistor, but for the middle level? What's required to switch a transistor to middle on one chip, is sufficient to open the transistor completely on another chip...

      So your manufacturing tolerances become way smaller, and that of course reduces yield which increases cost.

      Add to that, that chips today work with a variety of "hi" voltages like 5, 3.3, 2.8 ... Most lower-voltage chips are compatible with higher-voltage ones, they produce voltages which are still over the switching point and accept higher voltages than they operate on.

      With ternary that becomes impossible and chip manufacturers need to progressively lower the voltages for higher speed.

      Plus disadvantages in power consumption and and and...

      Admittedly the article doesn't seem to suggest that ternary is viable, just that it's pretty. Which may be true for a mathematician. :)

    2. Re:Ternary has been known to be efficient... by Teratogen · · Score: 3, Interesting

      A really cool number system that is rarely mentioned is factorial base notation. What makes factorial base interesting is that all rational number are represented by finite factorial base numbers, and transcendental numbers like e and pi are represented by infinite but nonrandom factorial numbers. So, somehow factorial notation "captures" and "tames" the complexity of the real number continuum in a way that decimal notation can't.

      --
      --- even the safest course is fraught with peril
    3. Re:Ternary has been known to be efficient... by Anonymous Coward · · Score: 1, Interesting

      Ternary number systems are specifically interesting in the case of "balanced ternary", in which numbers are represented using a {-1,0,1} base set (as opposed to {0,1,2}). The resulting system is symmetric, has a unique zero, and most importantly (for those of us who worry about this kind of thing) rounding a balanced ternary number is equivalent to truncating its last bit. Truncation of the ultimate bit is obviously more efficient then doing the standard compare routine.

    4. Re:Ternary has been known to be efficient... by Anonymous Coward · · Score: 0

      Cut'n paste from the article?

    5. Re:Ternary has been known to be efficient... by Anonymous Coward · · Score: 1

      what about phase lock?

    6. Re:Ternary has been known to be efficient... by t14m4t · · Score: 2
      What about MOSFETs? As I understand it, there is a channel which is either opened or closed (depending on how it is created). A third state would be neither. In this case, you can either fully shut the channel, fully open the channel, or leave it in a half-open state.

      Now, I'm obviously not a EE major (I just happen to know a smidgen from my current job), so i may be WAY off base. But...?

      weylin

      --
      67.5% Slashdot Pure I guess I need to work on that.... :)
    7. Re:Ternary has been known to be efficient... by Anonymous Coward · · Score: 2, Interesting

      It may be difficult using conventional transitors, but an interesting approach might be a spin-valve transistor.

      Simply put it's a transistor that has different transport properties for either spin up or spin down electrons. The Giant Magneto Resistive (GMR) head in your fancy new 100GB hard disk is a fine example of spin effects being used in every day life. A similar device could be used for doing base 3 arithmatic.

      A while back I did some simulations (admittedly simple and first order) of seperating different spins without using ferromagnetic materials. Which are used in GMR devices and are basically nasty things to use in device fabrication that should be avoided if at all possible. I found that you can get pretty good separation from the geometry of the device and an applied external magnetic field. This was all done with device sizes and parameters that were reasonable (a few microns in size, not huge magnetic fields, etc) for real life.

      Imagine a transistor with a single source and two drains one for spin up and one for spin down.

      Not to say it would be easy, just that it's possible given a little ingenuity to make a transitor that has 3 states.

    8. Re:Ternary has been known to be efficient... by maraist · · Score: 2
      What about MOSFETs? As I understand it, there is a channel which is either opened or closed (depending on how it is created). A third state would be neither. In this case, you can either fully shut the channel, fully open the channel, or leave it in a half-open state.


      "neither" is vague. It's close to saying it's either light, dark or neighter. Transistors have two basic modes of operation (that I'm aware of) that fits a garden hose analogy; You either step on the hose (blocking current) or physically remove the foot (to allow current). You have to physically attach the gate to either a positive source or a negative drain, otherwise static charge will keep it in what-ever state it was previously. The output of a MOSFET is usually the gate of another mostfet. Moreover, the gate of a MOSFET is like a capacitor, so the role of the gate-controller logic is to charge or discharge the gate-capacitor. Thus having some "dim" state that is neither blindingly bright nor pitch dark only slows the process of opening or closing (charging/discharing) the targeted gate.

      You might hear about a third "Z" state (cheater latches), but that's just when you don't connect the source of the FET to power or ground, but instead to the output of some other combinational logic. The idea is that when the FET is pinched off, you've electrically isolated one logic component from another. This is good for multiplexing (like memory arrays), where you'll have the output of multiple logic devices connected to a single input of another logic device, and you "activate" only one output device at a time. (The alternative would be to risk having the output of one device +5V, and the output of another device 0V, thereby short-circuiting).
      Bipolar transistors are even worse since they never truely pinch-off, and even leak current into the control. But they have more efficient current characterisitcs (higher current swings) and thus work well to amplify the charging /discharing of the FET capacitors. Hence the buzword BiCMOS.

      These are the basic uses of FETs that I've encountered in my undergraduate EE cariculum. End result, there's no free lunch with trinary logic systems and current transistors.

      -Michael
      --
      -Michael
    9. Re:Ternary has been known to be efficient... by nathanh · · Score: 3, Insightful
      Tertary would put us into "middle" voltage. But middle on the input, creates middle on the output, no direct way to get either high or low - making basic circuits more complex. But the real killer with "middle" is manufacturing. Let's say we use 2.8 Volts for the high level, 0.2 Volts for the low level. Due to manufacturing tolerances some chips transistors would be "fully" open at 2.3 Volts, others at 2.7 Volts. Easy to compensate on binary designs, you just use the 2.8 to switch the transistor, but for the middle level? What's required to switch a transistor to middle on one chip, is sufficient to open the transistor completely on another chip...

      Why would you choose such a brain dead scheme? 2.8V as your "middle" choice? A sensible scheme would have been +ve rail, -ve rail, and ground. This builds upon 100 years of analog electronics and op-amps. Locking a voltage to a rail is extremely easy AND fast.

      Plus disadvantages in power consumption and and and...

      The benefit of a ternary scheme is that you have LESS power consumption to achieve the same work. Your individual flip-flap-flops are more complex than a binary flip-flop, but you need fewer flip-flap-flops. Overall you'll have fewer transistors and subsequently less heat than the equivalent binary circuit.

      So your manufacturing tolerances become way smaller, and that of course reduces yield which increases cost.

      The fact that fewer transistors are required to achieve the same work (despite the fact that there are more transistors per gate) will INCREASE the yields. This DECREASES costs.

      How in hell did your post get modded up?

    10. Re:Ternary has been known to be efficient... by mike449 · · Score: 1

      Modern CMOS logic gates use pairs of transistors at their outputs, not single transistors. If the upper one is conducting, it is 1 state of the gate. If the lower one - 0 state. If neither is conducting, the resulting state is HiZ, used to connect multiple outputs to the same bus. If both are conducting, you can guess what happens:).

      Actually, it is relatively easy to create small and efficient ternary gates, using similar structures, but 2 supply voltages. I was thinking about this logic a while ago, when I was approached by physicist working on a problem of finding particle tracks using information from strip detectors. It appears that the problem is solved very easy in ternary logic. We stuck to binary logic anyway, because no commercial ICs are available for ternary logic.

    11. Re:Ternary has been known to be efficient... by vpetersen · · Score: 1

      Modern CMOS logic gates use pairs of transistors at their outputs, not single transistors. If the upper one is conducting, it is 1 state of the gate. If the lower one - 0 state. If neither is conducting, the resulting state is HiZ, used to connect multiple outputs to the same bus. If both are conducting, you can guess what happens:). What happens on the very high level (OS)? GPF, kernel panick, blue screen and so on?

    12. Re:Ternary has been known to be efficient... by Polanstaf · · Score: 1


      I wasn't too impressed by the claims of efficiency. Mathematically, optimizing the rw product is interesting, but pushing binary's value of 40 (for number for 0-999,999) to ternary's 39 is a dubious advantage.

      Before we turn the computing industry upside down, perhaps we could convince people to use Metric units.

    13. Re:Ternary has been known to be efficient... by Anonymous Coward · · Score: 0

      It wouldn't bee harder.. haven't heard of ecl logic..it could be used to it...

    14. Re:Ternary has been known to be efficient... by fferreres · · Score: 1

      I suppose a binary system could easily emulate a trinary system (say use two transistors as if it where a "trisistor").

      So unless a true trinary system device can beat a "binary emulated trinary" (hardware or software emulated) cost efectively there's not point on producing it. Add to that the software + engineering cost of producing / developing the trinary system.

      --

      --
      unfinished: (adj.)
    15. Re:Ternary has been known to be efficient... by pagercam · · Score: 0

      I don't think that power or lower volatges are real issues I'm not sure what ternary gate looks like exactly, but as stated in the article, you don't have much benifit in 0,1,2 (0,0.5,1) the benifit comes with -1,0,1 which is easy to build electronics with, and a half way change would use half the power of a full range change. Bipolar is the more effienent type of circuit and regenerative (I think that the right word) can run on almost no power, rather than just burning the current by changing stages you have balanced circuits, much like an elevator counter weight, that are in balance and the energy is switched from on state to another rather than here, gone, here. So 3 state logic can be substantialy more effeceient, and the whole reference everything to a single ground stops existing. All analog signals (audio, rf etc...) have no concept of a hard ground they have min, maxes and the artificial concept of center (non-high, non-low).

    16. Re:Ternary has been known to be efficient... by fferreres · · Score: 1

      >The fact that fewer transistors are required to >achieve the same work (despite the fact that there >are more transistors per gate) will INCREASE the >yields. This DECREASES costs.

      Fewer transistors would increase yields if the cost of producing each transistor were equal. And how can it decrease costs?

      Even in the unexpected that costs of producing both transistors are equal, you'll only get increased yields and not reduced costs.

      How in hell did your post get modded up? Simple: the same way yours did.

      -

      --
      unfinished: (adj.)
    17. Re:Ternary has been known to be efficient... by Anonymous Coward · · Score: 0
      But the real killer with "middle" is manufacturing. Let's say we use 2.8 Volts for the high level, 0.2 Volts for the low level. Due to manufacturing tolerances some chips transistors would be "fully" open at 2.3 Volts, others at 2.7 Volts.


      Wrong.

      The only sensible way to have a trinary logic system using mosfets is to control current. The currents need not be larger than femtoamps or so. See Carver Mead: "Analog VLSI and neural design". I have reliably measured currents like these in the lab on real-life silicon. You could have a voltage-based system, but you would still want to limit the current flowing in the opposing transistors you would need to have somewhere in your system to make the "almost" voltage. If you didn't, your system would be in a region where any inverters seeing the "almost"-voltage would be operating as a class A amplifier with a huge offset problem.

      The common mosfet (either p- or n-type) used in digital asics have interchangeable sources and drains. Thus, a current feeding one way could be "-1", no current could be "0", and "1" would be current feeding the other way.

      The currents can be generated by the use of current mirrors from a chip-wide reference current. Mosfets may be used as switches to switch the currents on and off, depending on the input.

      The problem is that I don't see why you would want to go to this extreme step. A two-input AND gate is a four-transistor thingy. A simple trinary current inverter would be many times that, and it is not trivial to make these elements so they can be placed automatically. Trinary logic would also need more reference rails (ground, positive voltage and reference current, compared to only ground and Vcc for digital logic). There is also a problem when feeding inputs to several places. Voltage-based logic is just connected, current-based logic would need to have the currents copied.

      I see no reason to do this. It is not efficient in terms of silicon. You use about the same amount of silicon to emulate trinary logic in a binary system, but you are still able to do binary logic. A trinary system would by comparison be hopelessly inefficient at doing binary or boolean logic.
    18. Re:Ternary has been known to be efficient... by nathanh · · Score: 1
      Fewer transistors would increase yields if the cost of producing each transistor were equal. And how can it decrease costs?

      Even in the unexpected that costs of producing both transistors are equal, you'll only get increased yields and not reduced costs.

      So in your world, you don't think that the disposal of a waste product is a cost? You somehow think that when your yields are lower that the non-sellable items magically disappear?

      How in hell did your post get modded up? Simple: the same way yours did.

      Now I see why you're posting at 1. You don't even preview things before you post them. Which "your" should I remove from your quip before it makes sense?

    19. Re:Ternary has been known to be efficient... by markmoss · · Score: 2

      A sensible scheme would have been +ve rail, -ve rail, and ground.

      First, in a ternary scheme, you have high, middle, and low voltages. You can call low, middle, or high "ground" but it makes no difference to the circuit design. Since transistors only work one way, what you seem to be suggesting would come out as a dual binary circuit -- one half processing plus or ground signals, the other half processing ground or minus signals. 100% more circuitry for 50% more information. It does save on wiring between circuits -- but in most cases for the cost of a ternary system you could instead make a binary circuit run twice as fast and get more data down the wire.

      The other alternative is to simply ignore ground and reference everything to the supply rails. Analog op-amps do this. It really doesn't make any difference to low-power analog circuitry whether "ground" is considered to be one of the supply rails or a point half-way between. You could certainly use such circuitry to perform trinary logic, but in terms of price vs performance it's probably an anti-optimal design.

      The fundamental advantage of binary digital circuits is that they are quite easy to stabilize. You want each transistor to go all the way on or all the way off, so as to give outputs that are as close as possible to the supply rails. For example, with a 3.0V supply, typical output voltages would be almost ground and almost 3V, or about 0.2 and 2.8V. In the most basic circuit (an inverter) inputs that aren't that sharply distinguished (say 1.0 and 2.0V) get amplified into 2.8 and 0.2V outputs, and this works even with widely varying transistor characteristics, and without requiring additional components for negative feedback. So binary circuits operate reliably even in a noisy world with only a few components for each bit.

      Analog circuits require in-between inputs to produce proportionally in-between outputs. Transistor gain and other characteristics vary quite widely from transistor to transistor, and vary in the same transistor with operating temperature. To reliably represent a middle voltage, you have to use resistors (resistor values are much more consistent) to create negative feedback loops. This feedback discards most of the transistor's gain, in order to ensure that the gain is set by the resistors and not by the transistor. The low effective gain then requires adding more transistor stages to get the required performance. So analog circuits require more transistors and many more resistors. Using one as a tri-level logic device does not make much sense; it is going to cost at least twice as much, with only 50% more information carried. If you really want to carry logic signals through analog circuitry, use more than three voltage levels to carry more information.

      Ternary is quite nice mathematically, but the only practical application seems to be ternary decision trees and menus.

    20. Re:Ternary has been known to be efficient... by nathanh · · Score: 2
      Since transistors only work one way, what you seem to be suggesting would come out as a dual binary circuit -- one half processing plus or ground signals, the other half processing ground or minus signals. 100% more circuitry for 50% more information.

      Gates in electronics aren't single transistors. They are many transistors and a handful of passive components. An actual gate will start with an unoptimised design and then remove redundant components. Your assumption that ternary gates would require exactly twice as many transistors is completely flawed. Check out any 74xx diagram in a National Semiconductor book: they show the internal schematic down to the transistor level.

      Ternary is quite nice mathematically, but the only practical application seems to be ternary decision trees and menus

      The incredible nonsense of all this is that ternary is already in use in electronics. It's just not called ternary. People abstract their circuits back to binary before passing info to the next gate, but in the schematics for any gate you can clearly see ternary logic used as an optimisation of the internal design.

      This is why I'm annoyed with you armchair electronic hobbyists going on and on about resistor values and middle voltages. I even saw a previous poster inexpertly try to explain why quiescent current proves the non-viability of ternary logic. You seem to be explaining away what the circuit designers are already doing!

    21. Re:Ternary has been known to be efficient... by markmoss · · Score: 1

      armchair electronic hobbyists

      6 years as an electronics repair technician, USAF.
      BSEE. 13 years as a test engineer.

      I don't design logic IC's, but I might know more about circuit design than you... And I don't see ternary logic in gate schematics. Each transistor is either on or off (in-between states suck lots of power, so you avoid them). The output circuits in both TTL and CMOS are usually two-transistor "totem pole", but they are quite incapable of outputting an in-between state. They can be tri-state, but the third state is to turn both transistors off, allowing other chips to put binary signals on the same wires. Changing that to output a middle state would require more complexity; designing the input circuit to recognize the middle state would be even harder, I think.

    22. Re:Ternary has been known to be efficient... by nathanh · · Score: 2
      6 years as an electronics repair technician, USAF. BSEE. 13 years as a test engineer. I don't design logic IC's, but I might know more about circuit design than you.

      With all due respect, you do know that this is like saying "19 years as a mechanic, I think I know more about thermodynamics than you do". That's not an insult against your skills as an electronics repair technician: electronics is larger than any one person can lay claim to.

      And really, the problem here isn't about YOU knowing more about electronics than ME. It's not even about YOU knowing more about ternary logic than ME. It's about YOU or others like you who are saying they know more about ternary logic than the scientists and engineers working on this stuff. That really gets my goat.

      And I don't see ternary logic in gate schematics... They can be tri-state, but the third state is to turn both transistors off, allowing other chips to put binary signals on the same wires.

      Now, I don't understand how you can say both sentences in the same paragraph without alarm bells going off in your mind. Design a circuit without tri-state logic. Now design the same circuit with tri-state logic. Which one required more transistors and will therefore consume more power and produce more heat? A good example that proves the point is a 4-bit bus. Binary logic forces you into a power-wasting ring-bus design.

    23. Re:Ternary has been known to be efficient... by markmoss · · Score: 2

      (1) AFAIK, there aren't any scientists and engineers working on ternary logic, just mathematicians. Can you point me to any circuit designs, or anyone working on this that is capable of designing practical circuits?

      (2) Tristate is NOT ternary logic. The input circuits on tristate chips are just binary; I think a ternary input circuit would need two comparators, where a binary input uses one. On the output end, if you want the same performance as binary you need four transistors -- two to bring the output to the middle state from either direction, plus the normal high and low transistors. If you don't mind wasting power and slowing the transition to "middle", you could use two output transistors (like tristate) plus resistor(s) to bias it to the middle voltage when both transistors are off. (Do you know what Resistor-Transistor-Logic was?) (Some busses require resistor termination anyhow for proper behavior at high-speed, but in modern designs a capacitor and resistor termination, with no steady-state current draw, is usually preferred to just a resistor.)

  12. Trits? by ceswiedler · · Score: 4, Funny

    Setun operated on numbers composed of 18 ternary digits, or trits

    Awww...they shied away from the obvious choice, tits.

    1. Re:Trits? by Annnoying+Coward · · Score: 1

      Awww...they shied away from the obvious choice, tits.

      But there are only two of those on a normal person!

      --
      sigh
    2. Re:Trits? by miked50 · · Score: 2, Funny

      I thought tits were binary... unless you've seen the movie Total Recall

    3. Re:Trits? by Happy+Monkey · · Score: 1

      I would have expected a single ternary digit to be a trit, and that 18-digit number to be a trite.

      --
      __
      Do ya feel happy-go-lucky, punk?
    4. Re:Trits? by tswinzig · · Score: 5, Funny

      Awww...they shied away from the obvious choice, tits.

      No, I think that was a good decision. When I think of tits, I always imagine them in pairs.

      --

      "And like that ... he's gone."
    5. Re:Trits? by Anonymous Coward · · Score: 0

      Then you've never lived.

    6. Re:Trits? by Spunk · · Score: 1

      Oh, I wouldn't say always...

    7. Re:Trits? by kerrbear · · Score: 2, Informative
      Setun operated on numbers composed of 18 ternary digits, or trits

      Awww...they shied away from the obvious choice, tits.

      Just to be more serious and perferctionistic about it. Shouldn't the word digit in this case be a trigit? Since the very word digit is prefaced with di which means two? I guess I could be wrong about that, but it seems to make sense.

    8. Re:Trits? by SlamMan · · Score: 1

      Then you need to go watch either Mallrats or Total Recall again!

      --
      Mod point free since 2001
    9. Re:Trits? by Anonymous Coward · · Score: 0

      And if they had used quaternary digits, they would've just called it quits. :-P

    10. Re:Trits? by Anonymous Coward · · Score: 0

      Digit meaning two gits? I don't think so. I'm pretty sure it comes from the latin for finger.

    11. Re:Trits? by Anonymous Coward · · Score: 0

      Oh, I get it. trit = Total Recall Tit.

    12. Re:Trits? by rgmoore · · Score: 2, Informative

      IIRC, the origin of digit is not from di- meaning two, but from digit meaning finger or toe. This makes some sense if you think about where numbering systems came from. FWIW, one advantage of binary is that it's very easy to count in binary on your fingers; your thumb is the ones bit, index finger twos bit, middle finger fours bit, etc. Not quite as easy to do in ternary.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    13. Re:Trits? by affenmann · · Score: 1

      > Shouldn't the word digit in this case be a trigit?
      > Since the very word digit is prefaced with di which means two?
      > I guess I could be wrong about that...
      Yep, you are wrong :-) (Doesn't make sense for ordinary base-10 digits...)

      The word digit comes from the latin digitus meaning finger.

      Now, I don't want to know what trigitus means in latin...

    14. Re:Trits? by FortKnox · · Score: 1

      Wasn't there a book based on using the ternary system, and since they were called "tits", computer scientists couldn't concentrate enough to program, and it started a long drought in technology? I'm serious, I think that's the preface for a scifi book...

      --
      Good quote, too many chars. Seriously, the slashdot 120 char limit sucks!
    15. Re:Trits? by kerrbear · · Score: 1
      IIRC, the origin of digit is not from di- meaning two

      Ahhh, I see it is just a coincidence then. Well, I've been wrong before...

    16. Re:Trits? by Anonymous Coward · · Score: 0

      No it shouldn't, a decimal number is still composed of digits, not degits. And in that case, wouldn't a binary number have bigits, not digits?

    17. Re:Trits? by rgmoore · · Score: 1

      Think about it. If they were called digits from di- for two, don't you think that it would be called dinary instead of binary? And people still talk about digits even when they're talking in decimal, so it's not something that's restricted to binary, anyway.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    18. Re:Trits? by linzeal · · Score: 1
      Not quite as easy to do in ternary.

      Well we could always hire computer engineers from Indiana and Kentucky that could.

    19. Re:Trits? by Anonymous Coward · · Score: 0

      and the thumb is the one bit, the pointer finger the three bit, the middle finger the nine bit...

      Same deal.

    20. Re:Trits? by thraxil · · Score: 1

      digit comes from the latin digitus for finger. it has nothing to do with "di". that should be pretty obvious since we also already use digit to refer to base 10 numbers.

      --
      Smokey the Bear says, "Strip mining prevents forest fires!"
    21. Re:Trits? by rgmoore · · Score: 1
      and the thumb is the one bit, the pointer finger the three bit, the middle finger the nine bit...

      But what position of the finger or thumb represents one vs. two? The standard two positions used in regular finger counting adapt nicely to binary, but a half extended finger (much less a half extended thumb) is a bit trickier to do.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    22. Re:Trits? by unDees · · Score: 1
      Setun operated on numbers composed of 18 ternary digits, or trits

      Awww...they shied away from the obvious choice, tits.


      Which is why they use ternary computing on Eroticon VI.

      --
      "I call a baby goat a 'goatse.'" -- my non-Internet-savvy 6-year-old stepdaughter
    23. Re:Trits? by kerrbear · · Score: 2
      Think about it. If they were called digits from di- for two, don't you think that it would be called dinary instead of bi nary?


      Well, it is language, not math, we are really discussing. And language isn't always known for it's logic. The prefix di does mean two in some instances. Hydrogen-dioxide for one. We don't call it Hydrogen-bioxide do we? Anyway, you were right and I was wrong in regard to my initial post so somebody feel free to take my one karma point away :-)

    24. Re:Trits? by Komi · · Score: 1
      Digit may have come from di- which means two, but digital does not mean two states; it means discrete. A digital clock has more than two states, it has a state for every second of the day. Time on an analog clock continuously flows from second to second, but in digital it jumps discretely. In fact an "analog" clock where the second hand ticks from second to second is technically a digital clock; it does not represent the times between each second.


      So actually, a computer designed with ternary logic would still be a digital computer. And it's trits would be digits (discrete values).


      komi

      --
      The ultimate goal of science is to unify all forces of nature to a single law that can be silk-screened onto a T-shirt.
    25. Re:Trits? by snarkh · · Score: 1

      According to the OED trigit is an obsolete version of treget, which is "Jugglery; trickery, deceit".

    26. Re:Trits? by ncc74656 · · Score: 2
      And language isn't always known for it's logic. The prefix di does mean two in some instances. Hydrogen-dioxide for one. We don't call it Hydrogen-bioxide do we?
      I thought it was dihydrogen monoxide that people were all worked up about...
      --
      20 January 2017: the End of an Error.
    27. Re:Trits? by martyn+s · · Score: 1

      I definitely agree that it shouldn't be "trigit," but his general idea was right. Digit comes from the latin word for finger, yes, and that is why digit only refers to base-10 and not other number systems; we have ten fingers. That is how the base-10 number system came into use.

      On that subject, I think it was the aztecs (or the incas or the mayans, I'm so confused) who used a base-60 number system. They chose 60 because it is divisible by so many numbers. I think the babylonians might've used a similar system.

      I think I remember another culture who used base-360 number system (maybe not, sounds very cumbersome). I know for certain that banks used to consider the year to have 360 days because it's so easily divisible.

      And this is why there are 360 degrees in a circle. Astronomy was the first field that measurement of angles was so common and necessary. So there are 365 days in the year, and they thought it would be elegant to have a degree represent for an earth-day. But 365 doesn't have too many factors, so they chose 360.

    28. Re:Trits? by Anonymous Coward · · Score: 0
      And in that case, wouldn't a binary number have bigits, not digits?

      Bigits is wut yew have out 'n them thar sticks, hew hate colored people so much.

    29. Re:Trits? by tolan's+my+name · · Score: 1

      It was the babylonians who used 360 as there base. I doubt the representation system actually had 360 distinct symbols though...

      The reason for 360 is supposedly because it divides well, 360 = 2*2*2*3*3*5 which is a sensible approach [for divisibility], though [2*3*5*7] = 210 might have a case.

      Remember that since most 'ancient' number systems had fairly clumsy notation the utility of the system was often based upon how easy it was to express numbers within it.

  13. Good Old binary and Floating Point. by RGreen · · Score: 5, Interesting

    Ternary numbers are an interesting sidetrack and some similar techniques are used in fast chip-based systems to speed up adding (each bit also caries it's own overflow and sign bits, turning the classic serial add-with-carry into a more parallel operation).

    It must be remembered that, for floating point numbers, base 2 is *the* most efficient representation, as argued in the classic paper "What Every computer Scientist Should Know About Floating Point Arithmetic" by David Goldberg. The deep understanding behind IEEE754 is a masterpiece of numerical engineering that is often overlooked, IMO.

    1. Re:Good Old binary and Floating Point. by fawlty · · Score: 0

      You missed the point.. Binary is the most efficient iff the bits are binary. If you used larger bases, then you would trade-off precision in the same amount of memory space.

      But using ternary bits would still allow for more precision and a greater range than with the same number of binary bits.

    2. Re:Good Old binary and Floating Point. by Luminous+Coward · · Score: 1

      > But using ternary bits [...]

      "bit" means binary digit :)

      You meant "trit".

  14. e is the ideal base for efficiency? by Mtgman · · Score: 1

    I've never heard this claim, anyone have a link, highly techincal and/or mathematical is fine with me.

    Steven

    --
    -- I have marked myself unwilling to moderate-- I don't have other accounts to artificially inflate the karma of
    1. Re:e is the ideal base for efficiency? by 3am · · Score: 1

      needs to be integral.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    2. Re:e is the ideal base for efficiency? by mbessey · · Score: 1

      Read the article. The definition of "efficiency" leaves something to be desired, IMHO.

    3. Re:e is the ideal base for efficiency? by Annnoying+Coward · · Score: 1
      needs to be integral.

      Ok, for convenience, we'll change e to be equal to three.


      --
      sigh
    4. Re:e is the ideal base for efficiency? by Anonymous Coward · · Score: 0

      Says who? Nothing about a positional number system requires that the base be integral, or even real! There's a secion in Knuth about this.

    5. Re:e is the ideal base for efficiency? by Anonymous Coward · · Score: 0

      Can't do that. Pi is already equal to three. Just ask those senators in Indiana.

  15. No, please don't! by DahGhostfacedFiddlah · · Score: 2, Funny

    2 4 8 16 32 64 128 256 512 1024 2048 4096...
    10 seconds

    3 9 27 81...ummmm...crap
    10 seconds

    This'll make all my computer-numbering knowledge obsolete

    1. Re:No, please don't! by Anonymous Coward · · Score: 0

      2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384... 10 seconds

      3 9 27 81 243 729 2187 6561... 10 seconds

      :)

  16. Trinary Digits by aridhol · · Score: 2, Funny

    What will we call the digits? Click here to find out:


    http://www.schlockmercenary.com/d/20001226.html

    --
    I can't say that I don't give a fuck. I've just run out of fuck to give.
  17. astronomers used it since 80's by Anonymous Coward · · Score: 5, Interesting

    As far as I know radio astronomers user 3-level data recording for their VLBI (Very Long Baseline Interferometry) data. One of the equipment was from JPL at Caltech lab. Their problem is to detect a weak signal in presence of strong noise. In this case, it doesn't make sense to do 8-bit digitization. Instead people do 1-bit, 2-bit digitization and average out many sample of data. They found that the recording efficiency was highest when they used 3-level digitization.
    I myself worked on VLBI in the same lab but our machines were using 1-bit digitization (BTW, we used regular video cassette and somewhat modified VCR to record 7 GBytes on single 2-hour tape).

    1. Re:astronomers used it since 80's by Anonymous Coward · · Score: 0
      Wrong, I am a radioastronomer woking with correlators. More recent machines encode 4 levels
      in 2 bits. VLBI might still use 3 levels because
      the correlators have not been updated but 4 levels
      provide significant gains in noise (only 15% additional quantization noise, versus 23% for 3 levels and 57% for 2 levels).


      Now the percentage here seem low, do not forget that the time of an observation to reach a given noise level increases like the square of this loss. So a 4 level systems loses a factor 1.3 in time, a 3 level 1.5 and a 2 level 2.5. Still it is azming that you can reconstruct the spectral signature of a signal while only sampling the sign.

  18. How many Scientists... by Pii · · Score: 1
    ...does it take to predict the inevitable Slashdotting of your Research Society's Web Server?

    It appears that they're at least one scientist shy.

    --
    For those that would die defending it, Freedom
    has a sweet taste that the protected will never know.
    1. Re:How many Scientists... by Tassach · · Score: 1
      Noone can predict a slashdotting, other than the /. staffer who puts a link on the front page. That being said, it would be courteous of them to anticipate this and give the linked-to site a heads up before they post the story, allowing them to make arrangements for extra bandwith, offsite mirroring, or implement some other bandwith management strategy.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    2. Re:How many Scientists... by Pii · · Score: 1
      Indeed...

      I have often wondered if it wouldn't be wiser to include the text of press releases, stories, and other items of interest within the Slashdot feature (with the subject's permission, of course).

      Naturally, a link to the source could be included, but most people wouldn't need to go there.

      --
      For those that would die defending it, Freedom
      has a sweet taste that the protected will never know.
  19. I always lose at ternary games by Anonymous Coward · · Score: 0

    they keep skipping me so that i get nary a turn

  20. Most efficient base? by MJArrison · · Score: 1, Interesting

    > comes the closest of any integer base to e, the ideal base in terms of efficiency

    What does this mean? I'm pretty decent with numbers, but I've never heard e being referred to as the most efficient base. Anybody know any more about this? Math article somewhere?

    1. Re:Most efficient base? by Turing+Machine · · Score: 1

      It's an easy proof. Suppose the cost of an n-state device was proportional to n, so that e.g., a 3-state device cost 1.5 times as much as a 2-state device (as it happens, we know how to make 2-state devices very cheaply, meaning that this doesn't hold in the Real World, but you asked for math :-).

      Give a number n, the number of digits required to represent that number in base k is approximately logk(n). {actually, floor(logk(n)) + 1, but that's not important). Each digit will cost $a*k dollars, where a is the proportionality constant from above, so the total cost of representing the number is a*k*logk(n) = a*k*ln(n)/ln(k) = a*ln(n)*[k/ln(k)]. Taking the derivative gives
      a*ln(n)*[(ln(k) - k/k)/(ln(k)^2)] = a*ln(n)*[ln(k)-1/(ln(k)^2)]. This (assuming I haven't screwed up my ASCII math) has a critical point at k=e. Substituting k=e, k=2 and k=3 in the original equation show that this is indeed a minimum, and that 3 is slightly better than 2. QED.

      It doesn't change the fact that (so far) 3-state devices cost a whole lot more than 1.5 times 2-state devices. That's why we're still using binary. :-).

  21. Russian take? by ers81239 · · Score: 1

    I always heard that the russians were always trying to build ternary machines. Based on positive, neutral, and negative charges. The problem is that (pos and pos and neg) is neg (i.e. false) logically, but pos (i.e. true) electricly.

    Because of this, you always have to put in charge reducers all over the place.

    --
    there are 2 kinds of people. those who divide people into 2 kinds, and those who don't.
  22. Ternary vs. Quantum by Nikau · · Score: 1
    I remember I once read a Star Trek book that mentioned ternary computers (the Tholians used them, I believe, and it was called trinary) and since then I've wondered about how effective they would be. Lo and behold, research!

    OK, so we're currently operating in a binary fashion. Add an extra state to a bit (or should that be a tit? ya, ya, I know... the article says trit, for obvious reasons :) and voila! More information can be expressed in a shorter space...

    What I want to know is how this would compare to quantum computing - which would be better, ternary or quantum? From the little I do know about quantum computing it is based on qubits (can't recall if that's correct or not), which in turn are based on the four basic quantum states.

    So is this basically a question of Base 3 vs. Base 4 and how well the math works out for each, or are there significant benefits to quantum computing?

    --
    There is no escape from The Muffin.
    1. Re:Ternary vs. Quantum by 3am · · Score: 1

      it has nothing to do with the radix...

      quantum computing relies on a superposition of states, doing non-deterministic computing...

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
    2. Re:Ternary vs. Quantum by Anonymous Coward · · Score: 0

      Basically, you are talking about two different things. The binary/trinary discussion is about what number system is most efficient viewed from a mathematical and representational angle. The other issue is whether this should be implemented with transister logic or quantum computing techniques, or just plain tricromatic light in optical computers.

      When you want to build a computer you need to choose a way to represent numerical data inside that computer, and the architecture and technology will impose certain limits. Many comments contain good examples of this, and point out why we use binary representation with our current computer technologies.

      One can say that Quantum Computing offers a much better opportunity to experiment with trinary representations than mainstream silicone implementations. Thus, it is not a question of whether trinary representations are better or worse than quantum computing, but more whether quantum computing will work better with binary or trinary representation.

      Maybe I just made all this more unclear...

  23. base e, base schmeee by Anonymous Coward · · Score: 0

    Ternary also comes the closest of any integer base to e, the ideal base in terms of efficiency

    Unless you're in Indiana in the USA. Then pi is just as close :P

    1. Re:base e, base schmeee by J'raxis · · Score: 1

      They tried to round pi up to 4, not down to 2 or 3. Something about squaring a circle I believe was in the language of the bill.

    2. Re:base e, base schmeee by Anonymous Coward · · Score: 0

      Don't they use a squared circle in pro-wrestling

    3. Re:base e, base schmeee by buckeyeguy · · Score: 1
      Check out this article, which cites the bill you refer to. Indiana rounded it down to 3, not up to 4. They also come up with 'creative' ways of defining the square root of two... must have been some extremely bored Hoosiers back in 1897.

      Either way, it's 10 in ternary ;)

      --
      I'd have a personalized plate on my car, but "toxic bachelor" won't fit into 7 letters.
    4. Re:base e, base schmeee by buckeyeguy · · Score: 1

      Sheesh, even I can't get it right... the Indiana bill defined pi as 16/5 = 3.2. (roughly 10.01211 in ternary.)
      Fractions in ternary... yet another hassle to implementation. Yucko.

      --
      I'd have a personalized plate on my car, but "toxic bachelor" won't fit into 7 letters.
    5. Re:base e, base schmeee by WolfWithoutAClause · · Score: 2

      I prefer to write pi as 10.... atleast that's how it is written in base pi!

      ;-)

      --

      -WolfWithoutAClause

      "Gravity is only a theory, not a fact!"
    6. Re:base e, base schmeee by J'raxis · · Score: 1

      Actually, it was 3, not 4. And heres where I found the squared-circle quote. That articles title says pi = 4? but then the article talks mostly about Indiana trying to set it to 3.

    7. Re:base e, base schmeee by Luyseyal · · Score: 2

      Yeah, that was a pretty clever hoax. The sort of thing your average elitist idiot would fall for.

      http://www.urbanlegends.com/legal/pi_indiana.htm l

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  24. 3bits? Why stop there? by deanj · · Score: 1

    Screw doing it with three-bits. Use colors for each bit instead.

  25. SETUN - Russian ternary computer by m_ilya · · Score: 5, Informative

    I have seen in one book that there was created a ternary computer long time ago. I have tried to find anything with google and found this page.

    --

    --
    Ilya Martynov (http://martynov.org/)

    1. Re:SETUN - Russian ternary computer by RelliK · · Score: 2

      Yeah, my OS design prof was very proud of the fact that he worked with the only working trinary computer in existence.

      --
      ___
      If you think big enough, you'll never have to do it.
  26. 3, 9, 27, 81 by JahToasted · · Score: 1

    Just when I get the powers of 2 up to 65536 memorized...

    1. Re:3, 9, 27, 81 by Another+MacHack · · Score: 1

      Just do it in base 3, then it's easy:

      1
      10
      100
      1000
      10000
      ...

    2. Re:3, 9, 27, 81 by Cheetah86 · · Score: 1

      Isn't 1, 10, 100, 1000... base-10(decimal)?

    3. Re:3, 9, 27, 81 by Anonymous Coward · · Score: 0

      1(base 10) = 1(base 3)
      3(base 10) = 10(base 3)
      9(base 10) = 100(base 3)
      27(base 10) = 1000(base 3)
      81(base 10) = 10000(base 3)

  27. CompUSA?? by vacamike · · Score: 0, Offtopic

    CompUSA??? Why even mention the hideous chain of stores. CompUSA has the most inept employees that are ready to 'impress' you with their Windows knowledge and sell you some worthless $50 Belkin cable.

    Salesman: "you need this cable. a hot-swappable IDE ribbon is a must have."
    Salesman #2: "is that the hot swappable IDE ribbon? Oh snap! that one made my AOL twice as fast and my por- er my 'files' save quicker."
    Salesman #3: "guys, don't forget that he needs a terminator for that ribbon. its an extra $37.95 plus we get to grab your wifes boobies."
    Customer: "What?! My wife? are you sure??"
    Salesman: "positive. now lets see some boobage; i brought my star wars digital camera."

    CompUSA sucks.

    1. Re:CompUSA?? by Anonymous Coward · · Score: 0

      I heard a CompUSA salesman attempting to explain how an internal modem would be "faster" than an external modem one time. I almost stopped him and showed his customer what a complete fool he was, but then I realized the customer was asking a salesman a technical question and got what he deserved.

    2. Re:CompUSA?? by vacamike · · Score: 1

      That is so true! When I worked there I often overheard people telling customers that ISA modems cant go as fast as a PCI modem even if they are both 56k.

      sheesh

    3. Re:CompUSA?? by joshjs · · Score: 1

      I used to work there in my youth, and I can't tell you how many times I told customers things pulled directly from my ass just to make a sale or make them go away. That's what you get, taking advice from a 16-year-old kid. Don't ever work at CompUSA, kids...

  28. Re:Nondigital computing: Root Not by Sebastopol · · Score: 4, Informative

    Close, but you are still doing digital computing! Just because it's not binary doesn't mean it isn't digital.

    The problem is understanding the new metaphors required to implement new modes of math. Simply adding a third state doesn't get you a revolutionalry new mode of computation, it just gets you more bits per wire. For example, look at flash technology: they now store multiple bits per cell by designing sense amps to convert the analog level to a binary pattern.

    Read the book "An Introduction to Quantum Computing". I forget the author, but it's the one that comes with the CD of mathematica examples.

    In this book they discuss a simple adder that Feynman derived. The realization of the Hamiltonion operator (similar to the transfer function H(s)) requires a gate called:

    Square root of NOT!

    It's pretty crazy, but when you walk through the example step-by-step, it becomes more clear why it is needed to build the simple adder.

    Now how you actually build a root-not gate is another problem, but I'm just making this point to illustrate how "meta" the new concepts have to be to truly revolutionize computation.

    There's simply nothing better than binary right now.

    --
    https://www.accountkiller.com/removal-requested
  29. Consider base -2. by jcr · · Score: 3, Interesting


    Think about applying it to D/A and A/D conversion for AC signals. It could simplify a flash converter,a nd conversion to convention twos-complement signed integers can be performed by a hard-wired lookup table.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:Consider base -2. by Amazing+Quantum+Man · · Score: 2

      Think about applying it to D/A and A/D conversion for AC signals

      Do Anonymous Cowards provide signal? What's the S/N ratio for ACs, anyways?

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
  30. RTFA by Anonymous Coward · · Score: 0

    There is a mathematical analysis right in the friggin' article!

    1. Re:RTFA by Mtgman · · Score: 1
      The "mathematical analysis" in the article is far from rigorous.

      Furthermore, it's only a hypothesis that such an advantage exists. Everything hinges on the assumption that rw is a proper measure of hardware complexity, or in other words that the incremental cost of increasing the radix is the same as the incremental cost of increasing the number of digits.

      Essentially they're saying that since a number system based on e scales naturally it should be the ideal choice for representing data. The rw they are referring to is the number base times the number of digits needed to represent a number. Their assertion is that this will be smaller with base e than it would be with other number systems for most practical number bases(if we had a base 1000 system we would be doing up to 1000 symbol lookups for each position, and this overhead would outweigh the advantages of a lower number of digits in the representation, thereby disqualifying it for consideration as a "practical" number base). I don't disagree with this portion. Therefore, each bit would have more meaning with a ternary-based computer than with other number bases and still have a low enough base so we don't waste time calculating what each digit is during conversions because the base is small and any operations on two such numbers would be more efficient to implement in hardware because the registers would be smaller than registers which could represent the same large number in another base.

      I disagree with this portion. Real world data would require a large amount of manipulation to make it work in a base-e system. It might be possible to use the properties of natural logs to do all this conversion, perform your operations, then convert back, but I'm not convinced that converting to base e and then back is more efficient/less prone to roundoff or approximation error than converting to base 2, doing operations, and converting back.

      Steven
      --
      -- I have marked myself unwilling to moderate-- I don't have other accounts to artificially inflate the karma of
  31. how about quadratic? by Hooya · · Score: 1

    well, equal to, greater than and less than coverage seems to be the strongest point for this puppy. how about the case where the operand is null? what then huh? dealing with databases everyday, this thing drives me nuts. we seriously need a quadritic computer with ==, >, and NULL.. native capabalities.

  32. Best Quote by bn557 · · Score: 2, Funny

    "Cheaper by the Threesome"

    I can always go for a cheap three-some.

    Pat

    --
    Humans are slow, innaccurate, and brilliant; computers are fast, acurrate, and dumb; together they are unbeatable
  33. We would have to come up with new crypto by Kiwi · · Score: 1, Offtopic
    Ternary systems, of course, would have to use new crypto systems, since all of the current block ciphers assume binary data.



    I actually have been thinking that it should not be too hard to come up with a Rijndael variant which uses a tenary system (using a 3^n instead of a 2^8 galois field, of course), since Rijndael is an incredibly easy to understand and very flexible cipher.



    The question comes to mind, of course, if whether the galois field should use the elements (-1,0,1) or use (0,1,2) to represent a single tenary bit.



    Sounds like a fun project, actually.



    - Sam (who only uses crypto for https and ssh, since I, as much as I enjoy the math of crypto, have a "you are as sick as you secrets" point of view)

    --

    The secret to enjoying Slashdot is to realize that it should not be taken too seriously.

    1. Re:We would have to come up with new crypto by Anonymous Coward · · Score: 0

      damn damn damn... a long time ago I knew what a galois group was. Employment away from academia must have rotted my brain.

      The only group theory I remember with any clarity dealt with Rubik's cube.

  34. Oh great by tomstdenis · · Score: 0

    Now I will have to go out and by my new 20.1897521142866379871848676589683-threebit processor......

    Tom

    --
    Someday, I'll have a real sig.
  35. what a pain... by inepom01 · · Score: 2, Interesting

    One of the advantages of digital over analog is that between the 1 and the 0 you have a ton of space that you can consider an error so if your signal is distorted (long wires), you still know what's going on- and you know when you have an error in transmission. In fact, when you read a binary signal, you can have true, false, and no output. With 3 possible inputs, the neutral zones between accepted values would become smaller and would significantly increase chances of error. In fact, the higher the base you take, the less margin of error.

    1. Re:what a pain... by mskfisher · · Score: 1

      Spot on. Also, if you want to keep the allowable error regions the same, you will square power consumption.

      A power/space/processing/error analysis on ternary would be nice to see.

      --
      0x0D 0x0A
  36. Pronouncation? (Sp?) Word Orgin? by Anonymous Coward · · Score: 0

    How do you Pronounce (sp?) ternary? Is it ter-nary
    or turn-ary? And why is it ternary and not trinary like binary?

  37. Two? Such a number is not possible! by DarklordJonnyDigital · · Score: 1, Funny
    Everyone knows that there are only one and zero... there is no such thing as two!

    <highlander> THERE CAN ONLY BE ONE!</highlander>

    (and zero)

    1. Re:Two? Such a number is not possible! by Anonymous Coward · · Score: 0

      Technically, there is no such thing as "10"

    2. Re:Two? Such a number is not possible! by DarklordJonnyDigital · · Score: 1
      "Technically, there is no such thing as "10" "

      SURE there is! 0001 plus 0001 equals 0010. Everyone knows that.

      ;)

    3. Re:Two? Such a number is not possible! by Black+Acid · · Score: 2
      From Futurama:
      "Ahhh, what an awful dream. Ones and zeroes everywhere...and I thought I saw a two." -- Bender

      "It was just a dream, Bender. There's no such thing as two". -- Fry
  38. It's axiomatic by gelfling · · Score: 2

    Something is : A member of set of elements called 'yes', a member of the set of elements called 'no' and a member of the set of elements called the intersection of 'yes' and 'no'.

    1. Re:It's axiomatic by whovian · · Score: 1

      Ternary could make the relationship with your significant other all the better/worse:

      What part of yes AND no don't you understand?

      Well, there is now an answer.

      --
      To-do List: Receive telemarketing call during a tornado warning. Check.
  39. Perhaps you're looking for... by Anonymous+DWord · · Score: 1
    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  40. Nifty. Looks like... by rnturn · · Score: 2

    ... I might find that that adaptive image compression scheme I was using years ago might turn out to be useful after all. (Some parts of it would have been tons more practical if you used a ternary coding.) Now if I can find the source code amongst all those 360KB floppies that I've been meaning to burn onto CDs and convert it from FORTRAN...

    --
    CUR ALLOC 20195.....5804M
  41. All your base 3 are belong to us... by Xiver · · Score: 1

    Someone had to say it.

    --
    10: PRINT "Everything old is new again."
    20: GOTO 10
    1. Re:All your base 3 are belong to us... by Anonymous Coward · · Score: 0

      no, they didn't.

  42. Ternary Logic...... by the_2nd_coming · · Score: 2

    if YX switch right

    it seems to me that this is valid logic, now if we can just come up with a transister that can do this sort of thing.

    I am sure we can come up with a muti transistor system made of 2 transisters, but what would be the economic savings of having a ternary logic system if you double the transisters?

    --



    I am the Alpha and the Omega-3
  43. The biggest advantage of ternary... by BillyGoatThree · · Score: 1

    ...is that we no longer would have to read sentences like the following (fictional) example in supposedly learned publications like Scientific American:

    "Computers are binary which means they can only answer 'yes' or 'no', 'black' or 'white', 'up' or 'down'."

    As if using two digits didn't allow us FOUR answers. God I hate clueless science reporting.

    --
    324006
    1. Re:The biggest advantage of ternary... by Anonymous Coward · · Score: 0

      Don't be such an idiot, the logic is the same. Each bit is still yes or no.

    2. Re:The biggest advantage of ternary... by martyn+s · · Score: 1

      I think you mean bits, fool.

  44. One more step torward good Analog Computing. by jellomizer · · Score: 1

    Although Current Digital Chip are called digital but underneeth they are still analog they just ignore a good chunk of the sine wave. So it Asumes high if it is positive or low if it is negitave. But with a Trinary chip might be torwards real acurate analog computing. True Analog computing could therioticly be extramly fast. Adding 2 numbers can be done O(1) You put Carge of value A and put charge of Value B and bang you got the answer. Floating points can be truely represented. 3d graphics will be a lot faster calulating a sine of a value will be super quick. But that is in the future. Base 3 is a good step towards base ininfinity.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    1. Re:One more step torward good Analog Computing. by papa248 · · Score: 1

      I'm sorry, but no matter how you put it, you will not get anywhere NEAR analog computing with base-3 computing. In fact, you'll barely be much closer than with base-2, because you're still taking samples of data. You can get closer to the analog representation, but never there.

      Also, computing doesn't use sine waves per se, they use square waves (which are of course Fourier series of sine waves) but they give sharper resolution on what is a logical 1 or 0.

      --


      The higher, the fewer.
  45. Re:Ternary Logic......Opps dumb HTML by the_2nd_coming · · Score: 2

    damnit
    if Y&ltX stop
    if Y=X swithch left
    if Y&gtX switch right

    --



    I am the Alpha and the Omega-3
  46. Yes! Tits! by corebreech · · Score: 5, Funny

    If bits becomes tits, then I say bytes should become teats.

    And, instead of a 'nibble' being four bits, we'd have a 'suckle' equaling three tits, like that babe in the movie Total Recall.

    Instead of dealing in megabits or gigabytes, we'd have gigatits, which could be abbreviated as DD, saving vast amounts of bandwidth -- which might as well be called handwidth now -- or terateets, abbreviatable as DDD.

    With all the sexual content in technical lingo (e.g., male and female plugs, master/slave, unix, etc.) this is only a natural development, and given that half of these machines are used for nothing but downloading pictures of naked breasts anyways...

  47. Fascinating, but not practical, here's why: by Uttles · · Score: 5, Informative

    I looked over the article and it made a good arument for a ternary computing architecture, however there are some big problems with this that were not addressed in the article. Although I'm not a math expert, I did gain a math minor in college during my computer engineering curriculum, and I have to say ternary computing seems to have too many complex problems that need solving to be worth it.

    First of all, hardware is getting smaller and smaller all the time, so the whole premise behind ternary computing (base 3 would use less hardware) doesn't apply, especially since brand new gates would have to be made in order to distinguish between 3 signal levels rather than 2, and that would be taking a HUGE step backwards.

    Secondly, doing things on a chip or two is great, but the main problem in computing is communications. The major part of creating efficient communications protocols is determining the probability of a bit error. Probability is a very complicated science, even using the binary distribution, which is a very simple function (that just happens to escape me at the moment.) Now, add another bit, and you have to use a trinary distribution, which I'm sure exists but isn't very common (and not surprisingly, I can't recall that one either). Long story short, this theoretical math has been made practical in computer communications over a long period of time dating back 50 years, starting all over with 3 bits rather than 2 would be extremely complicated and VERY, VERY expensive.
    Finally, figuring out logical schemes for advanced, specialized chips is a daunting task. Engineers have come up with shortcuts over the years (K-maps, state diagrams, special algorithms, etc) but adding in a 3rd state to each input would make things almost impossibly complicated. All computer engineers working at the hardware level would have to be re-educated, starting with the simplest of logical gates.

    Overall, in my humble opinion, we'll never see large scale use of ternary computing. There's just too much overhead involved in switching over the way of doing things at such a fundamental level. The way hardware advances each year, things are getting smaller and smaller without switching the number base, so until we reach the limit using binary, we'll probably stick with it.

    --

    ~ now you know
    1. Re:Fascinating, but not practical, here's why: by the_2nd_coming · · Score: 2

      well I hope this does not boed the same for Quantom Computing. I realy hope that, when the final brakthrough of having a working machine is complete, we make the move. the computational value is much to great to ignore it.

      --



      I am the Alpha and the Omega-3
    2. Re:Fascinating, but not practical, here's why: by dprice · · Score: 2, Interesting

      The major part of creating efficient communications protocols is determining the probability of a bit error.

      You have made some very good points, and the bit error problem is one of the big ones. When you go to ternary logic levels, you reduce the noise margin, so you have to slow down the clock and/or spread out the logic (more space) which offsets the gains you might get from ternary logic.

      I once saw a point-to-point ternary logic data bus design that looked very clever on paper. It allowed simultaneous transfer of data in two directions on the same wires. Both ends of the bus were allowed to drive 0 or 1, and both ends watched the ternary logic level on the bus. If the middle state, "M", was observed, then the other end must be driving the opposite logic level.

      This looks like a big win since the same wires can carry twice as much traffic than a normal binary bus, but the reality of noise margin made the bus impractical. The noise from the dynamic voltage swing between 0 and 1 made it difficult to reliably discriminate the smaller 0/M or M/1 voltages at high clock rates. The clock rate had to be slowed to less than half the speed of a binary bus which made the ternary bus lose its apparent advantage.

      I won't even get into the headaches that ternary logic design would cause. It makes my binary brain hurt.

    3. Re:Fascinating, but not practical, here's why: by afs · · Score: 2, Insightful

      On the contrary--the "theoretical math" was never developed for a specific representation of information, much less binary. In fact, information theory accomodates any representation, all the way back to Shannon..

      The real difficulty is physical implementation. Coming up with coding schemes is trivial.

    4. Re:Fascinating, but not practical, here's why: by suso · · Score: 1

      First of all, hardware is getting smaller and smaller all the time, so the whole premise behind ternary computing (base 3 would use less hardware) doesn't apply, especially since brand new gates would have to be made in order to distinguish between 3 signal levels rather than 2, and that would be taking a HUGE step backwards. To say that trying out trinary computing would be taking a step backwards because you had to rewrite all the circuitry starting from scratch, is like saying in 1991 that rewriting Unix from scratch just to make it open source is a big step backwards.

    5. Re:Fascinating, but not practical, here's why: by suso · · Score: 1

      Err, let's try that again

      First of all, hardware is getting smaller and smaller all the time, so the whole premise behind ternary computing (base 3 would use less hardware) doesn't apply, especially since brand new gates would have to be made in order to distinguish between 3 signal levels rather than 2, and that would be taking a HUGE step backwards.

      To say that trying out trinary computing would be taking a step backwards because you had to rewrite all the circuitry starting from scratch is like saying in 1991 that rewriting Unix from scratch just to make it open source is a big step backwards.

    6. Re:Fascinating, but not practical, here's why: by chhamilton · · Score: 1
      Secondly, doing things on a chip or two is great, but the main problem in computing is communications. The major part of creating efficient communications protocols is determining the probability of a bit error. Probability is a very complicated science, even using the binary distribution, which is a very simple function (that just happens to escape me at the moment.) Now, add another bit, and you have to use a trinary distribution, which I'm sure exists but isn't very common (and not surprisingly, I can't recall that one either). Long story short, this theoretical math has been made practical in computer communications over a long period of time dating back 50 years, starting all over with 3 bits rather than 2 would be extremely complicated and VERY, VERY expensive.

      Most of the math behind error-correcting codes/protocols has its roots in Claude Shannon's work on Information and Communication theory, which was generalized for arbitrary bases (and thus applies for base 3 as well). Since then, although work has focussed generally on base 2, mathematicians like to keep things general and most of it is easily extended to other bases.

      I think that hardware design/tolerance issues would be the largest obstacle, rather the specifics of working in base 3. The point of the article was to show that base 3 is in most cases, the ideal base to pick (because of it's symmetry, and near optimality of representation), and that it simplifies many tasks. Unfortunately, mass re-education would need to occur, and a lot of developed intuition would be lost...

      Maybe one day... but in the meantime, it's likely only to be appreciated by mathematicians...

    7. Re:Fascinating, but not practical, here's why: by nels_tomlinson · · Score: 3, Informative

      Now, add another bit, and you have to use a trinary distribution, which I'm sure exists but isn't very common (and not surprisingly, I can't recall that one either).

      Well, I don't think that the probability is really much worse. Instead of binomial, we have in general multinomial, and here trinomial: pdf=(n!/(x_i!*x_j!*x_k!))(p_i^{x_i}*p_j^{x_j)*p_k^ {x_k)).
      See Berger's Statistical Decision Theory and Bayesian Analysis. Or here or here.

      There are some hardware problems; I posted a possible solution . (It's a joke, mostly!)

      A more serious problem is mentioned by anohter poster: floating point is where we really, really care about speed and efficiency, and it seems that binary has that sewn up.

      ... we'll never see large scale use of ternary computing. There's just too much overhead involved in switching over the way of doing things at such a fundamental level.

      Quite right. This is the only argument against it which doesn't have an answer, I suspect.

    8. Re:Fascinating, but not practical, here's why: by Anonymous Coward · · Score: 1, Insightful

      Perhaps it isn't best for electrical systems, but it should work great for optical. Think RGB -> Red, Green, Blue. It only makes sense for optical.

    9. Re:Fascinating, but not practical, here's why: by sjeng · · Score: 1

      I expect that we can throw away a lot of communication protocols if we want ternary computing. Take for example the I2C protocol. I do not expect that the protocols will be modified, but I think they will be translated. So they will encode "tits" (thanks to corebreech) in bits, send it over the communication line and decode it. Eventually we will see new protocols, but I think this will take years. One good thing is that we can make sure we haven't got too many standards. I try to recall Tanenbaum... "the nice thing about standards is that we have so many of them to choose from" (don't shoot me if the quote isn't exact).
      For bits we need one comperator to differentiate between true and false, but for tits we will need two of them. What about the good old RS232 protocol? My god, this is a nightmare!

  48. 'e' is the perfect base? by Anonymous Coward · · Score: 0
    Could someone explain (in 25 words or less), why the poster tells us that 'e' is the perfect base?

    Thanks in advance.

    1. Re:'e' is the perfect base? by TheRain · · Score: 0, Troll

      because I said so...

      --
      Please help! I'm stuck inside my virtual reality headset!
    2. Re:'e' is the perfect base? by renehollan · · Score: 2

      The product of the number of digits and symbols for a number X, in base e notation, is less than in any other base.

      --
      You could've hired me.
  49. Maybe we should call them... by ascii-kekkonen · · Score: 1

    ...by the names of those three Gods of Hindu pantheon, namely those who are the Creator (Brahma), the Destroyer (Shiva) and the Preserver (Vishnu).

  50. quantum computers by neologee · · Score: 1

    i think this would be a good system to use with quantum computers, since they can be in a superposition of waves state (both 1 and 0)

  51. And there's already a language for it! by Chris+Burke · · Score: 3, Funny

    As if in precognition, a language has already been developed for ternary computers:
    TriINTERCAL! (the link is about INTERCAL, chapter 6 is about the TriINTERCAL extension)

    I can't wait until college courses are taught in this truly wonderous and -- who would have thought -- futuristic language.

    --

    The enemies of Democracy are
  52. I patent... by SIGFPE · · Score: 2
    ...the use of the operators <<< and >>> to mean ternary left and right shift, ie.

    x <<< 3 is (usually) x*3

    and x >>> 3 is (usually) x/3.


    The representation of negative numbers is interesting but there is a 3's complement scheme that works. Eg. ....22222222222 is -1 (like the 3-adics). So -1 <<< 3 would be .....222220, ie. -3. So everything works out fine.

    --
    -- SIGFPE
    1. Re:I patent... by bnenning · · Score: 2
      x <<< 3 is (usually) x*3


      Wouldn't that be x*27? x <<< 1 would be x*3.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    2. Re:I patent... by Anonymous Coward · · Score: 0

      Java already uses >>> for unsigned right shift

  53. Cool, but... by Liquid(TJ) · · Score: 1

    It seems to me that this is cooler than binary for the same reasons CISC is better than RISC. Unless manufacturing changes dramaticly, it will probibally never catch on for the same reasons RISC did.

    As far as "closer to e", I'm not an expert, but I would guess that in computing applications, wouldnt a truncation of e be more useful than a rounding most of the time?

    1. Re:Cool, but... by Anonymous Coward · · Score: 0

      Huh? RISC never caught on? x86 PCs are pretty much the only thing left that still uses CISC. Almost everything else uses RISC. Anything high-end uses RISC CPUs. I believe there are even PDAs that have RISC processors. And of course there's PowerPC-based Macs.

    2. Re:Cool, but... by TheDick · · Score: 0
      I know you're trolling but...


      The classification of a CPU as either RISC or CISC is as outdated as the Classification of an IP-address as either Class-A or Class-C.

      --

  54. Quantum computing? by ascii-kekkonen · · Score: 1

    Just a thought... Could it be possible to do homebrewn quantum computing using white light (all colours = all bits are 1) and some homebrewn filters, mirrors etc. or similar setup?

    1. Re:Quantum computing? by Anonymous Coward · · Score: 0

      Quantum computing != optical computing. One uses electrons in various states, one uses light instead of electricity. Sounds like you meant the latter, which we are closer to right now than quantum computers.

      And no, I don't think you'll be able to do any homebrew quantum/optical computing. Right now, in our best, most expensive labs, we can barely make a quantum "transistor", much less a whole computer. You can sure try, but I doubt you'll get very far.

    2. Re:Quantum computing? by Mt._Honkey · · Score: 1

      No. It would be so much trouble to make white light in millions of different places in a computer that any possible advantages (I don't think thre are any) would be lost. You need a simple LED to make coherent light, which is easy to work with.

      --

      Don't Bogart the fish sticks
  55. Luck Comes in Threes by rveno1 · · Score: 1

    Now us Geeks can Finally say that something good comes in threes!

    (unless M$FT decides to make an operating system for it [with our luck ....])

  56. The new t-shirts at ThinkGeek: by Rude+Turnip · · Score: 1

    rm -rf /tern/laden

    Kind of spoils the meaning, doesn't it?

  57. INTERCAL already supports it by Owen+Lynn · · Score: 1

    INTERCAL is the only language in which you can not only program in trits, but n-digit number systems. It's an elegant and beautiful language - it's so beautiful, it will drive you mad. =)

    1. Re:INTERCAL already supports it by 3am · · Score: 1

      yes, programming in trits on binary hardware. that's not such a great leap forward...

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
  58. How would you get clean state transitions? by Carmody · · Score: 2

    With a binary system, you can change from a 1 to 0 state, and a 0 to 1 state without having to pass through an intervening state. (You can call 1 high voltage, 0 low, or 1 a high tone and 0 a low tone) Only two states to worry about.

    I don't see how one can design something as fast as a binary system, and still allow us to go from 0 to 2 without going through 1. If you are doing voltages, the intermediate value theorem forces you to go through state 1. Similarly if you are doing tones.

    One can design a logic system, with "forbidden" state transitions. But then you would have to argue that "ternary logic with forbidden transitions" is significantly better than "binary logic." It seems to me that you would lose 90% of your advantage if you forbade 0 - 2 and 2 - 0 transitions.

    --
    God is real unless declared integer
  59. not to be an engineer... by nadador · · Score: 4, Informative

    and rain on the computer scientist's parade, but...

    The reason that you can't get, and won't for a long time, anything greater than base 2 is that setting and sensing more than two logical levels in a given voltage range is very hard. Those ones and zeros you like to look at and think about discretely are not really ones and zeros, but voltages close to those that represent one and zero, close enough to not confuse the physics of the device in question.

    For example, if you arbitrarily define 0 volts to be a 0 and 1 volt to be 1 in an equally useless and arbitrary circuit, and you monitor the voltage, what do you assume is happening if one of your discrete samples is .5? Is it your ternary maybe, or is it the circuit switching from 0 to 1? And what about the case when your manufacturing process introduces errors greater than you expected? What if 1 comes out .75? Is that in the maybe range or the 1 range?

    Now, I remember something about double flash memory densities by sensing 4 voltage ranges in each cell, but I imagine the timing precision required to do that correctly is orders of magnitude easier to do (and still a royal pain) than putting ternary logic into a modern microprocessor (with tens of millions of transistors, implementing everything created in the entire history of computing that might be even marginally useful so that you can 3 more frames per second in quake3).

    --

    Outside of a dog, a book is a man's best friend. Inside a dog, its too dark to read.
    1. Re:not to be an engineer... by mrdogi · · Score: 1

      So, why can't we just do like something that the article kind of hints at: +5,0,-5, or some similar? On the hardware level this doesn't seem like it would be overly hard to do, as we already do something similar in serial communication.

    2. Re:not to be an engineer... by Komi · · Score: 1

      If 1V is high, and 0V is low, then the third state does not have to be 0.5V. Why can't it be -1V? This is balanced ternary notation from the article. So now you just check for polarity or ground. And this could be acomplished with transistors too, similar to how CSOM logic is done. You would just have the transisters connect the output to either plus, ground, or minus. It may not be the fastest thing in the world, but neither was binary computing at its infancy.

      And yes, one has to be mindful of noise margins. With a bigger range (-1 to +1 instead of 0 to +1), the percentage noise margin has to be smaller, but that's certainly no reason to not try it out. To eek out every last drop of performance, engineers have been shrinking noise margins for many, many years. Think of GHz computers. Transistors have to switch faster than a nanosecond. Some engineers spend there whole careers making sure that clocks are accurate at times less than a nanosecond. That's where performance comes from, pushing hardware to its limits, and then beyond.

      Probably ternary computing won't happen, but it's more because so much has been invested in binary computers, rather than binary is better. Binary is the standard, not necessarily the most efficient. The most common is not always the best (think M$).

      Also, conceptually ternary computing is already done in binary machines. In adders it's a lot of times easier to deal with -1,0,+1 rather than just 0,1. So they use three states and encode them in a 2-bit number (-1=01, 0=00, +1=11). In fact, this is so much more efficient that it outweighs the fact that one of the states is wasted (10). This technique is also done in A to D converters.

      komi

      --
      The ultimate goal of science is to unify all forces of nature to a single law that can be silk-screened onto a T-shirt.
  60. Efficiency of base? by Debillitatus · · Score: 1
    I'm a bit puzzled by the comment that "e is the most efficient base". While there's no rule against using a non-integer for a base, it has a certain disadvantage, that being that the real numbers you can represent exactly are not integers, but polynomials in e, e.g. any number of the form n_1 e + n_2 e^2 + n_3 e^3 + ... where the n_i's are integers.

    In particular, since e is irrational (NB it's even a bit worse than that), if you were to represent an integer in base e, it would have to be represented in floating-point. So efficient integer arithmetic will only be good for this special class of numbers which are not integers. On the other hand, I also can't see how having an integer base close to e helps at all either. Doing logarithms in base e is best for certain mathematical reasons, but if you're off, you're off. Perhaps there's a definition of efficiency here that I don't know, but it's the obvious tradeoff: if by efficiency you mean short expressions, then the bigger the base, the better... of course, the bigger the base, the harder it is to implement in hardware. This is why humans use decimal and hexadecimal but computer use binary. So, in summary, I can't see what e has to do with anything.

    --

    Come on, give it up, that's

    1. Re:Efficiency of base? by Derek+Pomery · · Score: 2

      Reading the article would've answered your long expression of puzzlement.

      Just as there may be practical limitations behind precisely maximising the volume for a soup can, doesn't mean that getting close will not allow you to approach the maxima of the function.

      A better question would've been why use his measurement of efficiency, a question the article examines.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    2. Re:Efficiency of base? by Happy+Monkey · · Score: 2

      I think they meant "most efficient" in terms of "highest information density"," as a function of the size of a digit versus highest numerical value the digit can hold. The ease of operation on this number was not taken into account. They leave all that stuff up to the engineers to work out.

      --
      __
      Do ya feel happy-go-lucky, punk?
    3. Re:Efficiency of base? by Debillitatus · · Score: 1
      Ok, let's say that you decide to use this measure of efficiency, for better or for worse. Then it is correct to say that 3 is the integer which maximizes this function, etc. But it is definitely an open question as to why you would want this function as opposed to any other.

      But it makes no sense to refer to e being the "most efficient base" because it maximizes some function, when actually using base e will give you all the other problems we've noted.

      Maybe I'm being too particular?

      --

      Come on, give it up, that's

    4. Re:Efficiency of base? by Derek+Pomery · · Score: 2

      Yes, I think so. Obviously an irrational number is a poor choice of base. It merely expresses the minima of the function.
      Integer steps in the function are the correct choices, just like a soup can probably needs to fit certain machine constraints.
      I was taking exception to your claim that chosing the closest integer was meaningless.

      In any case, a darn cool article. Well written, clear, and entertaining - so my nitpickiness threshhold has climbed significantly.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
  61. Difficulties in Implementation by uslinux.net · · Score: 2, Insightful


    I vaguely remember discussing this in a Computer Science class on circuit design four or five years back. While this might be possible for some sort of non-copper processor, I imagine the difficulty would be in rapidly distinguishing correct voltages for each bit on today's technology.

    In simplistic terms, presently, if you have two bits, at a clock cycle, the electrical current is either 0 (0 volts) or 1 (3.3 volts). Theoretically, you could have an infinite number of bits, provided you had infinite voltage precision. Thus, 0=0v, 1=.1v, 2=.2v, ..., 33-3.3v - a 34-bit computer.

    However, your processor is probably designed with a tolerance in mind, thus 3.1 volts is probably a 1, and .2 volts is probably a 0. I really don't knwo the specs, but you might even presume 0-1.65v=0 and 1.66-3.3v=1. The amount of effort required and the reduction in speed required to slow the clock cycle down to ensure that .5v is ACTUALLY .5v and not .6v would probably impact performance too greatly.

    I'm sure there's a PhD EE somewhere in this crowd that can explain this even better, but my point is that I don't think anything but binary computers are useful with current electrical technology. Presently, there's a reason we use two bits - because it's easy and *fast* to check "on or off" without having to determine how "on" is "on". Now, if one was able to use fiber and send colors along with the pulses, then you might have something...

    1. Re:Difficulties in Implementation by 3am · · Score: 1

      in theory, you can only have a radix as high as quantum physics allows.

      that isn't infinite, but high.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
  62. Re:Nondigital computing by Teratogen · · Score: 1

    I think the computer in "Moon is a Harsh Mistress" was a "ternary logic", and it developed a sense of humor. =)

    --
    --- even the safest course is fraught with peril
  63. Re:Nondigital computing by crumbz · · Score: 2, Interesting

    Electron, proton, neutron
    Up, down, top,
    bottom, strange, charmed
    blue, red, green

    Yikes!

  64. Turing Theory... Complexity Analysis .. blah blah. by Samuel+Nitzberg · · Score: 2, Insightful

    I like what was written, and it is interesting, but I don't think that this will change much in terms of how computation is performed or perceived.

    One of the earlier posters had something mentioned about it all being two dimensional... actually, a good way to look at computation is using what Turing devised - a one dimensional model of computation based upon a single tape.

    In studying Turing Machines, the mathematical model based upon (potentially infinitely long) tapes is used extensively. Move the tape right, left, and modify what is under the head, for example, are the primitive operations. A set of functions defines how symbols are changed, and when computation halts, as well as the resulting halt state.

    A basic examination of binary versus ternary systems, based on Turing Machines, and some (basic) complexity Theory...

    In binary systems, computation trees build at the rate of 2^n, where n is the number of computational steps...

    In a trinary system, we are looking at 3^n.

    So, performance could be considered in terms of - I believe 3^n - 2^ n, i.e., polynomial, not exponential) differences in processing power.

    But, any binary system could by used to -simulate- a 3^n system through the use of a (at worst polynomially larger) set of functions and / or chunkings of data (to represent the 3 states in binary, repeatedly). Also, necessary encodings could be performed by 'chuncking' the ternary data into blocks.

    Polynomial gains are nice, but at best, we don't have an earth-shattering enhancement.

    P.S. Some of this may be a bit rusty, so if anyone has a more concrete analysis or corrections, feel free...

    Sam Nitzberg
    sam@iamsam.com
    http://www.iamsam.com

  65. i don't buy it by egomaniac · · Score: 1, Interesting

    The entire theory "ternary is most efficient" hinges on the idea that the 'best' base is the one that minimizes digits per number * possible digits.

    In other words, base 1000 has 1000 different possible digits, but will require very few digits to represent numbers compared to (say) base 2.

    According to the article, the 'most efficient' base according to this property is base e (2.7182818...), which they round to 3. My retort is: who cares? Why on earth would you judge a base system by digits per number * possible digits?

    Digits per number is important, obviously -- base 16 requires far fewer digits than base 2 to represent most numbers. However, the complexity of building hardware which can efficiently represent 16 different digits is overwhelming, which is why no computer (to my knowledge) has ever used higher than base 10. Even the early ternary computers used a pair of bits rather than genuine trits, because they didn't have hardware capable of representing three states.

    I'd argue that minimizing the number of possible digits far, far outweighs the number of bits per number, as evidenced by the fact we all seem pretty darned happy with binary. Storage is cheap, meaning bits per number just isn't a significant measure anymore, whereas designing and building every part of the computer to use ternary rather than binary is an expensive proposition.

    In short: the measure they used to prove ternary 'best' was pulled from their nether regions, not based on anything in real life. As such, the basic premise of the article is flawed.

    --
    ZFS: because love is never having to say fsck
  66. Close, but no cigar by MrTilney · · Score: 1

    Redoing the math wouldn't be that difficult, you could follow the same derivation, just use different functions for the probabilities. However, the big point is that, while sending binary information, communications systems don't used binary symbols. Most modern communication systems use 2^n symbols to be compatible with binary (the methods are a little too complicated to be explained here), but 3^n would not be that much of a leap.

  67. Ternary Computing and the rw measure by NoCrypto · · Score: 1

    This topic seems to come up all the time in math discussions, and usually ignores a simple reason why 3 is much worse than 2.

    The obvious simplification which we all have made from base 2 is that 2 symbols really require the detection of only ONE symbol's presence or absence. i.e. you don't have to confirm that a digit is "1" if you can confirm that it's NOT "0". The the number of recognized symbols in a number system is ONE LESS than the number of actual symbols in the number system.

    Using this type of metric, one can infer that the "r*w" cost really should be "(r-1)*w" which when compard for the case of 2 and 3 clearly shows that 3 is highly inferior as a number base to 2.

    Thus this article's 1 million code example simplifies to:
    Binary (20 bits, r=2) --> (r-1)*w = 20
    Ternary (13 tits, r=3) --> (r-1)*w = 26
    Decimal (6 digits, r=10) --> (r-1)*w = 54

    Comments?

    1. Re:Ternary Computing and the rw measure by hpa · · Score: 2

      The parent comment is exactly on target when it comes how things are implemented in electronics... you have to detect n-1 threshold levels, not n. It's actually even worse, because generating a single threshold level comes almost "for free" with an appropriate combination of transistors -- this very fact is the basis for CMOS logic, which has by and large taken over as the *only* way to implement logic circuits...

  68. It was a joke, you idiot by Anonymous Coward · · Score: 0

    Intercal is a language designed in jest. He was making an obscure humor reference. But I guess that went right over your head.

    Maybe you'll get the tit references and find them funny instead.

    1. Re:It was a joke, you idiot by 3am · · Score: 1

      Intercal is a language designed in jest. He was making an obscure humor reference. But I guess that went right over your head.

      Maybe you'll get the tit references and find them funny instead.


      i bet making fun of my ignorance of obscure humor really helped out your self-esteem. i hope, someday, that you can reply to my posts with a real user account instead as an AC. that would be a very positive step. best of luck in your continuing efforts to interact with other people normally.

      --

      A: None. The Universe spins the bulb, and the Zen master merely stays out of the way.
  69. Asynchronous Processing by chew8bitsperbyte · · Score: 1

    The discussion of ternary computing came up in an earlier /. article about asynchronous processing. Rather than the three being true, false, maybe... It was thought that the third piece would represent "Not ready yet." This would certainly seem to be a nice step forward towards the production of clockless CPU's. Food for thought.

  70. grammar nazi Re:how about quadratic? by Luyseyal · · Score: 2

    I believe the word you're looking for is quaternary.

    <g>
    -l

    --
    Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
    1. Re:grammar nazi Re:how about quadratic? by Hooya · · Score: 1

      no it's communist. grammer communist. :P

  71. Been done by apilosov · · Score: 2, Informative

    As a matter of fact, there was a ternary computer built in Russia, called Setun' (apostrophe signifies a soft n).

    Russian translation of Knuth's Volume 2 was quite funny. Knuth is saying that "Somewhere, some strange person might actually build a ternary computer". The russian translation had a translators footnote "Actually, it has been built in russia in 1960s".

    See this page for more information about setun:
    http://www.computer-museum.ru/english/setun.htm

    1. Re:Been done by Anonymous Coward · · Score: 0

      Thank you for not reading the article, please play again.

  72. Gratuitous rain? by leighklotz · · Score: 5, Interesting

    I am shocked, shocked to discover that a fundamental computer architecture explored in the 1950's, rejected as unworkable, and forgotten is in fact unworkable.

    The feeling that this induces has no word in English, but in Japanese it's called yappari.

    1. Re:Gratuitous rain? by p3d0 · · Score: 1
      I am shocked, shocked to discover...
      Hey, is that a Casablanca reference? I love that movie.
      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    2. Re:Gratuitous rain? by clone304 · · Score: 1

      That's funny as shit. Searching up yappari on google led me to this: http://regultra.rice.edu/~brent/jal/jal-w4.htm Where you will find several selections of anime situations that provoked the use of this word, if you use the find feature of your browser.

  73. Also, transistors cannot be made for base 3 by Anonymous Coward · · Score: 1, Informative

    Base 2 is very convenient for digital circuits because it relies on the inherent non-linear regions of the transistors for representing values while saving power. In a typical CMOS inverter, you have two transistors - a PMOS over an NMOS - with a tied gate. One transistor is always in the on state (saturation), the other is in the off state (cutoff). Therefore, whether the gate presents a logic 1 or logic 0, you have no power consumption because it's either a gate looking at a ground (no voltage), or a voltage rail looking at an insulating gate (voltage but very very high resistance). In this way, almost no power is consumed in the static state with the exception of some leakage currents which are for now manageable (but getting much worse in smaller geometry technologies).

    When switching, however, the transistors both go into the linear conduction region, which is why they consume power - there is a resistive path between the supply and ground. This is the region used for amplification of sound and for other electronic circuits. But it consumes a lot of power.

    How you could even construct a trinary circuit which has the same power characteristics as complimentary MOS is highly problematic at best. The number one and two problems on chips are timing closure and power, respectively. IC packages can't even handle the power. The more time the circuit spends in the linear region, the worse the power consumption. To me, any potential savings in size for such a circuit are virtually impossible to fathom. Not to mention some insurmountable difficulties as the author of the parent article mentioned on design methodology and tools to support a trinary system.

    HOWEVER, it should be noted that signaling via pseudo-trinary methods is possible to alleviate timing problems at the expense of absolute performance. Motorola has an embeddable core which uses pairs of wires that have four states - 1, 0, ack, and a null state which is not valid anyway. But even this is not power efficient or fast - it's just easier to implement in some ways.

    1. Re:Also, transistors cannot be made for base 3 by Uttles · · Score: 1

      That's a good explaination of what I was trying to get at with my first point. Actually making the hardware to to ternary logic would be a nightmare.

      --

      ~ now you know
  74. theoretic backing for TriINTERCAL by Anonymous Coward · · Score: 0

    ah, at last, justification for my favorite language...

    http://www.tuxedo.org/~esr/intercal/

    http://www.muppetlabs.com/~breadbox/intercal-man /s 06.html

  75. Old idea, but causes problems... by hpa · · Score: 2

    Ternary computing is an old idea; in fact it is said that there were a group of computer scientists in the old USSR who were quite enamored with the idea, especially the balanced ternary form (-1, 0 +1).

    The problem is that although you reduce the number of gates, the gates themselves get horribly complex. There are only 16 possible two-input binary gates, of which two are trivial, two are wires, two are NOTs, two are ANDN, two are ORN, and one each of AND, NAND, OR, NOR, XOR and XNOR. All of these are familiar gates. However, there are no less than 19683 two-input ternary gates. If you sacrifice some of the combinations, you suddenly are doing less than true ternary computation, and you're wasting the power of your machine.

    That, in combination with the sheer commonality of true/false type states, means, in my opinion, that binary is here to stay.

    1. Re:Old idea, but causes problems... by barneyfoo · · Score: 1

      ORN and NAND are the same, ANDN and NOR are the same. just fyi. do the logic table you will see.

  76. AMD Tri bit CPUs by ZaneMcAuley · · Score: 1

    And you need a towercase like this to cool it http://www.clearwatercoolers.com/images/watercoole rs.jpg

    --
    ----- Whats wrong with this picture? http://www.revoh.org:1234/whatswrong
  77. Units? by ajs · · Score: 4, Funny

    A friend and I were thinking about representations on a ternary system. We had to figure out what units of storage would be available.

    Obviously, there's the basic unit of storage (1, 0, -1; on, off, undefined; true, false, maybe; whatever). We called this a trit for obvious reasons of parallel to the binary world.

    Ok, good enough so far. Then, there's the basic unit that's used to store characters or very simple numbers. We decided that 9 trits would be good (this was to allow for UNICODE-like representations). This seemed to be a shoe-in for the title, tryte.

    Then, you occasionally want to have something that is used in firmware to sub-divide trytes into various fields. In binary we call this a nibble, so in honor of Star Trek we called this one (3 trits) a tribble.

    But, there it stopped, as we soon realized what we'd be measuring the system's word-size in.... Man, I thought SCSI was a painful phrase to use all the time ;-)

    1. Re:Units? by Anonymous Coward · · Score: 0

      But, there it stopped, as we soon realized what we'd be measuring the system's word-size in.... Man, I thought SCSI was a painful phrase to use all the time ;-)

      I don't get it. "Trird?"

    2. Re:Units? by anotherbadassmf · · Score: 1

      You missed the obvious one "tits".

  78. Ternary RAM by BlueTurnip · · Score: 2

    It occurred to me while reading the article that even if you could build a ternary microprocessor with more bang for the buck than the standard binary variety, in order to be useful in a microcomputer, you would need ternary RAM as well, so I began think about the problem.

    Most desktop computers use dynamic RAM to achieve high densities at low cost. (It's not unusual for new desktop systems to have 1G of RAM in about 4 modules.) They work on the principal of charging tiny capacitors. Charged represents a 1 for instance and not charged represents a 0. But capacitors can be charged in one of two polarities (one plate negative with respect to the other, or positive). Thus it seems that it would be a small step to go from binary dynamic RAM to ternary. The supporting electronics and refresh circuitry would be a bit more sophisticated, but the capacitor array might be basically the same, resulting in increased capacity (log3/log2) with about the same real estate! So perhaps dynamic RAM is really optimal in ternary as well.

    I'm not an electrical engineer; the above is merely speculation off the top of my head. Does anyone more qualified than myself have any thoughts on this?

    1. Re:Ternary RAM by Spinality · · Score: 1

      Wouldn't this apply equally well to packing denser binary RAM into the same package? You'd just decode (say) four 'tits' (0..80) into 6 bits (0..63, plus you'd get a whole bunch of extra values for 'N/A', 'overflow', etc.), getting a 50% savings in size. Therefore, somebody's certainly thought of it. And therefore, there must be some significant implementation problems that make it cheaper just to keep chasing Moore's law. But it still might be worth exploring further.

      --
      -- We all have enough strength to endure the misfortunes of other people. La Rochefoucauld
    2. Re:Ternary RAM by BlueTurnip · · Score: 2

      Well, the problem with your scheme would be addressing. In a standard SDRAM module, each chip contains only one bit of each byte. A memory lookup addresses exactly one bit in a chip, and one capacitor is checked. Your scheme of using ternary DRAM as binary DRAM would involve examine several capacitors for each bit lookup. I think this would slow down the addressing efficiency considerably.

      But, if the computer uses ternary logic, then to keep the one to one correspondence between capacitors and lookups (which I think would be necessary for efficiency) one could use a three state system: not charged, and charged with either of two polarities. This, I think, would be as efficient as far as timing goes, and give you the 50% savings in size.

    3. Re:Ternary RAM by Spinality · · Score: 1

      Your scheme of using ternary DRAM as binary DRAM would involve examine several capacitors for each bit lookup. I think this would slow down the addressing efficiency considerably. -- Turnip

      But recall that we don't do bit-level addressing or retrieval. So we wouldn't need to query multiple 'tits' to get a single bit value; we'd be retrieving a chunk at a time, at the width of the transfer bus. So the transformation from ternary numbers to binary numbers could occur in parallel, in a buffer. Obviously, that transformation would have to be fast, and would still introduce some latency; but this wouldn't be as severe as what would be required for bit-level access (which as you point out would be REALLY bad). This tradeoff between density and latency is the same issue with bubble memory, but the latency problem here is much smaller.

      No argument that with a ternary computer the latency issue goes away, and your core point is correct. But I still suggest that an n-ary memory could be used to simulate binary memory for conventional use, and that the increase in density offset might justify some additional latency. But if it were a slam-dunk, they'd already be doing it.

      --
      -- We all have enough strength to endure the misfortunes of other people. La Rochefoucauld
  79. Q: Ternary in software? by dstone · · Score: 2

    This is interesting stuff. Does anyone have links to software experiments in ternary computing? Obviously, running on binary hardware, such projects probably won't have storage or execution advantages, but are there application domains where ternary representation makes a more elegant software solution?

  80. Insults by Michael+Woodhams · · Score: 2

    So I may have to exchange my geek insult "couldn't figure out the logarithm to the base 2 of 65536 without a calculator" into "couldn't figure out the logarithm to the base 3 of 19683 without a calculator."

    --
    Quattuor res in hoc mundo sanctae sunt: libri, liberi, libertas et liberalitas.
  81. Keep it simple by booch · · Score: 1

    Base 2 has the property that there is no base that is more simple. It fits the old maxim, "Make it as simple as possible, but no simpler".

    (Unless you count base 1. I consider the tally mark to be base 1, but it has some problems fitting in as a true number base.)

    --
    Software sucks. Open Source sucks less.
  82. Intercal by mikeee · · Score: 3, Funny

    Excellent. This will translate Tri-Intercal, with native bitwise trinary operators, into much more efficient machine code.

  83. Re:Yes! Tits! by satterth · · Score: 1

    Touché!

    --
    Being called a dork on Slashdot must be like being called the retard in special ed.
  84. Ternary trees by mauddib~ · · Score: 2, Offtopic
    Dr. Dobbs recently had an interesting article about ternary trees (http://www.ddj.com/articles/1998/9804/9804a/9804a .htm), which also discussed some performance comparisons between binary trees and hashes.
    We just did some testing, comparing those search algorithms with eachother. Although hashes are more or less comparable in speed with ternary trees, binary trees are much slower.

    Some sample output: (btw, we didn't balance the ternary tree, although we did some really basic balancing on the binary tree).


    testing binary tree
    elements = 235807
    235807 insertions in 97.995633 seconds
    tree depth = 7882
    235807 lookups in 95.111857 seconds

    testing hash table
    elements = 235807
    235807 insertions in 0.442643 seconds
    tree depth = 63709 (number of buckets in use)
    235807 lookups in 0.345933 seconds

    testing ternary tree
    elements = 235807
    235807 insertions in 0.744229 seconds
    tree depth = 93
    235807 lookups in 0.386081 seconds


    Clearly the ternary tree and hash are much faster than the binary tree. Although there are still some optimisations to make, we believe that the ternary tree will outperform the binary tree at all times.

    We also made some (very) cool graphs with Graphviz, but unfortunately have no good place to share it with the rest of the /. reading audience.
    --
    This is a replacement signature.
  85. Ternary computers by Anonymous Coward · · Score: 0

    Imagine a Beowolf Cluster of THESE!!!

  86. Huh? by booch · · Score: 2

    How is the problem of distinguishing a .75 voltage in your ternary system different than distinguishing a .5 voltage in a binary system?

    A/D controllers do this all the time, for larger bases, often on the order of 256 to 24 million. Granted, the digital results don't have logical consequences. But you can't ignore the fact that binary systems have to set tolerance levels just the same as ternary systems.

    --
    Software sucks. Open Source sucks less.
    1. Re:Huh? by breadbot · · Score: 1
      0.75 V is easy to detect, but hard to detect quickly and simply.

      Fast 8-bit A-D converters operate in MHz and take hundreds or thousands of integrated components (resistors, transistors). As soon as you use even two transistors in a ternary system where you could use one in a binary system, you lose efficiency.

  87. Don't get hung up on transistors. by nels_tomlinson · · Score: 5, Interesting

    As long as we're turning the world on its ear, lets go all the way, and use triacs. We implement it (the tri-state gate, that is) like an inverter, more-or-less. These have two (non-linear ) on states plus off, and are just right for implementing an inverter. They'd probably be great for trinary logic, too.

    I just dug out my old physical electronis book (Micro Electronics, by Jacob Millman, First edition), and can't find them in there, so here's a slightly less academic reference.

    There might be some problems with trying to get the clock speed high enough to compete with the Intel/AMD marketing, though; it says that they can be triggered into conduction by high dV/dt.

  88. Code, java calculator, and other fun stuff by uigrad_2000 · · Score: 1
    --
    Free unix account: freeshell.org
  89. Why this is useful by ChenLing · · Score: 3, Insightful

    I've read a lot of posts on how this will be difficult to implement using voltages and circuits....and you know what? It *IS* difficult to sense 3 different voltage.
    The solution? Don't use electric circuits...don't use transistors.

    Electric circuits will only get us so far, and then we'll have to move on to more 'exotic' hardware -- optical computing, molecular computing, quantum computing.......

    Suppose a qubit's state is describe by the spin polarization of an electron pair -- they can either be both up, both down, or one of each -- you can't tell which one, so it's actually 3 states (balanced at that)......

    In optical computing, suppose you can push the frequency of the lasers a little in either direction of 'neutral'...this is also base 3.

    So what I'm trying to say is, don't just say "base-3 computing is not practical with current technology" -- because it isn't, but it WILL be practical (perhaps even more so than binary computing) with future technology.

    And to finish with something lighter...
    troolean x, y, z;
    x = true;
    y = false;
    z = existentialism;

    :)

    --
    "You have the option of insanity. I do not. And that makes me crazy!" - Brian to Angela, My So-Called Life
  90. The answer... by mortenf · · Score: 2, Funny

    I don't like this.

    Any system that can't spell "42" is not worth it.

    --
    Don't make fun of my speling, english is my 2nd language...
  91. Obligatory Futurama Quote: by Anonymous Coward · · Score: 1, Funny
    Bender: What an awful dream! 1s and 0s everywhere! [shudder] ...and I thought I saw a 2...

    Fry: It was just a dream, Bender. There's no such thing as 2.

    -- Futurama

  92. Re:Nondigital computing: Root Not by volpe · · Score: 2

    Close, but you are still doing digital computing! Just because it's not binary doesn't mean it isn't digital.

    Did anyone say it wasn't digital? Or did you confuse "variants of digital computing" with "alternatives to digital computing"?

  93. Computer author??? by asterisk_man · · Score: 1
    From the article (emphasis mine):
    Doron Zeilberger of Rutgers University, in a paper co-authored with his computer Shalosh B. Ekhad, established that among the 3n n-digit ternary sequences at least 2n/17 are square free.
    Where was this Shalosh B. Ekhad computer when I was writing a thesis last semester??
  94. Re:Nondigital computing: Root Not by Anonymous Coward · · Score: 0

    Read the title of the parent post "NONDIGITAL COMPUTING"

  95. Re:Nondigital computing: Root Not by eclarkso · · Score: 1
    Did anyone say it wasn't digital? Or did you confuse "variants of digital computing" with "alternatives to digital computing"?
    Well, the title of the post was "Nondigital computing" :).
  96. Re:Nondigital computing: Root Not by Kaufmann · · Score: 2
    Did anyone say it wasn't digital?


    Yep. Look at the thread's title.


    -- Kaufmann

    --
    To the editors: your English is as bad as your Perl. Please go back to grade school.
  97. Are you an LAS major? by uigrad_2000 · · Score: 1
    Summing up you're post, you say:
    Doing things with 3's instead of 2's will be complicated, and and may take more research. I'd give up!

    What an attitude! I find it hard to believe you'll ever get hired as an engineer. Making stuff like this work is the dream of a good engineer. Your desire to explore needs to be greater than your desire to be comfortable.

    A lot of these challenges have already been solved. Some of them were solved 100 years ago (read the article). Many of your examples are things that may seem complicated to us using 3-way logic, but may actually be more efficient once we fully understand the properties.
    --
    Free unix account: freeshell.org
  98. the Epiphany of the File Cabinet by Jonathunder · · Score: 2

    Then came my Epiphany of the File Cabinet a few weeks ago ...

    When counting, thou shalt not stop at One. Neither shalt thou go on to Three.

  99. Re:Nondigital computing: Root Not by CyberDruid · · Score: 1
    There is nothing strange about sqrt of NOT, except its name. They could just have called it something completely mundande, but where would the fun be in that? Think of it as a range of probabilities from NOT^0 to NOT^1. A completely mixed state of 50% 0 and 50% 1 would hence be accomplished by the application of NOT^0.5 to a completely determined state. In reality this can be accomplished in many different ways.

    The only crazy thing about quantum computing is the implications from a many-worlds interpretation point of view. What is actually happening is that an exponentially rising quantity of universa collaborates and shares the results! Sort of the Open Source of physics.

    --

    Opinions stated are mine and do not reflect those of the Illuminati

  100. People count by tens... eurr.... by 2Bits · · Score: 1

    People count by tens and machines count by twos

    Well, at least, not the Brits and Americans. They count by 12, 16, .... I guess before they evolved into the current form and shape, they probably had 12 fingers, 16 toes, or something like that.

    1. Re:People count by tens... eurr.... by shilly · · Score: 1

      Interesting you should mention non-metric systems. The reason for them is simple: 12 and 16 divide better than 10 if you're interested in integers (which shopkeepers are). 12 can be divided smoothly by 6, 4, 3, 2; 16 by 8, 4, 2. 10, by contrast, divides smoothly only by 5 and 2. There are some other advantages as well, but I can't remember them.

  101. What about software? by Florian+Weimer · · Score: 2, Interesting

    C is defined for a binary machine, like most programming languages (if they are defined properly at all). That's why it's hard to believe that we're going to see non-binary computing anytime soon. It would be very inefficient to reuse old software, making the theoretical effiency gain rather worthless. (Hmm, but this didn't prevent Intel/HP/et al. from developing the IA-64 architecture, may be they start trinary computing next?).

    By the way, Ada does have support for trit operations (in some bizarre way), but this was merely an accident.

  102. Quadrary? by eoPh · · Score: 0

    Anyone remember that big rabble about Bio Computers? Using the 4 acids (or whatever) in DNA to do the work and move the info around?

    I dunno, I remember seeing an article somewhere about it, thought to myself "hey, that'd be cool", and that was about it. I still think it'd be a neat idea, though, except for the possibility of having to feed your computer, and that a virus could mean a trip to the drug store :]

    If anyone knows much about this, please, do tell

    --eoPh

  103. Re:Yes! Tits! by ceswiedler · · Score: 2

    There's a bird called the Tufted Titmouse. The name for a group of these birds is a "rack".

  104. Never work by Syberghost · · Score: 2

    They tried this on Star Trek, and it went berserk and blew up starships. It'll all end in tears, mark my words.

  105. Are you even an engineer? by Anonymous Coward · · Score: 0

    Then explain like the other poster here did - what a transistor is, how it works, and how design methods are better in base 3 versus base 2. To call someone not an engineer because he thinks that base 3 is inefficient is idiotic. Maybe you'll blame him for hating base 1.5 as well?

    1. Re:Are you even an engineer? by uigrad_2000 · · Score: 1
      Then explain like the other poster here did - what a transistor is, how it works, and how design methods are better in base 3 versus base 2. To call someone not an engineer because he thinks that base 3 is inefficient is idiotic. Maybe you'll blame him for hating base 1.5 as well?

      K-maps can be used in base 3 for evaluating base-3 logic expressions just as easily as it can for base-2 logic expressions. Simply look for m-by-n rectangles filled with 1's, or 2's, or 0's. Soon, you'll find that you'll need a few more gates for your average 4-input expression, but your average 4-input expression will be much more powerful.

      The poster never even considered all the implications of a base-3 k-map. Sure, it's hard to do in a short slashdot post. But, there are advantages to be found. "It's too complicated" is a cheap excuse, and has held up progress many times.

      Adding up the pros and cons of an idea can be tricky. We already know there are plenty of "pros" for such a system. (lookups and insertions into a trinary tree can be faster than in a binary tree). We've started to evaluate the "cons" but it's still way to early to know which will win.

      Cynicism has its time and place. It's very good to have when considering bringing a product to market or not. But, that's not where we are. The author had no intention of convincing anyone to throw their binary computers out the window. It's merely an idea that has not been studied much. A couple of computers were built in the '60s, and nothing more.
      --
      Free unix account: freeshell.org
  106. Re:Nondigital computing: Root Not by Sebastopol · · Score: 2


    There is nothing strange about sqrt of NOT, except its name.

    yes, but you say that and then you go on to give a really strange explanation! ;-)

    the interesting point is:

    a -- sqrtNot --> b

    ...is a probability, but...

    a --> sqrtNot --> sqrNot --> b

    ...is absolutely certain as it reduces to a = ~b. kinda like the three-polaroid filter experiment for light, i guess.

    regardless, i think in the early stages of any new science it's ok to use the term 'weird', maybe even, 'bizzarre', or as some may so, 'hella dope".

    --
    https://www.accountkiller.com/removal-requested
  107. Didn't your mom ever tell you? by Uttles · · Score: 2

    It's not nice to put words in someone else's mouth. I did read the article. The article didn't address the technical problems I was speaking of and others have posted. As an engineer I also am responsible for delivering working products, not just a bunch of theoretical promise. The most important thing in engineering is not chasing down wild new concepts and getting them to work (that's what professors are for,) it's making money using your problem solving skills.

    --

    ~ now you know
  108. A more practical point made was... by Stultsinator · · Score: 1
    That 3 is the ideal integer for menus. For example, if the menubar at the top of GUI applications was only 3 menus wide, and each contained only 3 submenus and so on, users would spend less time reading through the options and less time clicking submenus.

    It'd be an interesting exercise to try this out on an existing app like the Gimp where there are complex menu options.

  109. So if... by pokeyburro · · Score: 0

    ...ternary computing is harder to do than binary, unary computing should be trivially easy.

    Think of it. We'd have, uh, uits. Or maybe its. We'd all have to remember 1 to various powers. We wouldn't need stoopid transistors, just wires to carry a single signal. This is looking better and better!!

    --
    Lately democracy seems to be based on the skybox, the Happy Meal box, the X-box, and the idiot box.
  110. power consumption by Anonymous Coward · · Score: 0

    Another advantage of binary is the power
    dissipated in a transister. Ideally, when the
    transister is off, the current is zero and
    when the transister is on the voltage across
    the transister is zero.
    Either way the power is zero.

  111. Base 3 is best for dealing with Pi... by Slicebo · · Score: 1

    It's the only known numeric base that allows resolution of an exact value for Pi.

    Little known fact.

    1. Re:Base 3 is best for dealing with Pi... by RockyMountain · · Score: 1

      Yeah, right! I suppose you have a bridge to sell, too?

    2. Re:Base 3 is best for dealing with Pi... by RuntimeError · · Score: 1
      Pi is not a rational number. Irrespective of what base you work on, you can't find values for p and q where

      p/q = Pi

      if p and q were integers.

      Of course one could always use the base Pi where 10 would be the value of pi. The problem with base Pi is there are Pi number of different symbols.

      Even if you found a way of introducing Pi number of symbols, the next problem is that Pi is NOT a constant, as it is only constant on Euclidean surfaces.

  112. Ternary is cheaper for mathematics, not engineers by Petrus · · Score: 2, Insightful

    The hypoteticaly "cheap" ternary system assumess, that the need for hardware scales linearly with the base. That is, e.g. it binary gate requires 2 transistors, ternary needs 3 transistors. In such a case 2^3=8 is less than 3^2=9.
    So system with 2*3=6 transistors can count to 9 in ternary while in binary only to 8. When searching maximum for f(x) = x^(const/x), one ends up with e for all const>1. That's why the mention that the 3 is the closest to e - an number base ideal. I remember having that case in mathematics competition way back in 8th grade.

    In engineering practice, that is quite far from truth. In ECL logic the ternary half-adder requires the same number of transistors as in binary logic. It requires the same number of wires to carry ternary digit as binary one. However we all know why is ECL nearly extinct - its high consumption prevents high integration.

    The benefits of binary logic can be seen in CMOS, where we have two states, each of which consumes also no power and still has low output impedance.

    Petrus

  113. Re:Yes! Tits! by Rytsarsky · · Score: 1

    Can you imagine a beowulf cluster of those!

    --
    God became man to enable men to become sons of God. -C.S. Lewis
  114. happy juice by Splork · · Score: 2

    I'm glad to know that unbounded square-free ternary sequences exist. Life has a meaning now.

  115. Re:Nondigital computing by Polanstaf · · Score: 1

    >The Number of The Beast, wherein the prevalence >of 3 phase wiring led to trinary computing.

    The article overlooked another advantage of base-3 - the sinister 666 is reduced to the pathetic 22020. ;-)

  116. What I really want is not.. by Dog+and+Pony · · Score: 1

    ... greater than, less than and equals.

    The real use for ternary is to implement the new booleans; Yes, No and Maybe.

    The first language to implement that, is the one I'll be programming in... :)

    1. Re:What I really want is not.. by Ziviyr · · Score: 1

      I'm not sure theyre booleans after that...

      Should call them poneans or something. :-)

      --

      Someone set us up the bomb, so shine we are!
  117. Re:Nondigital computing by spiro_killglance · · Score: 3, Informative

    Actually apart from the colors, all the other
    particles are come in (isospin) pairs.

    Under SU(2) (weak force pairs)

    Electron Neutrino
    up down
    strange charmed
    bottom top
    proton neutron (which is up down again)

    blue red green because color has
    SU(3) symmetry

  118. Most of Your points are right, but.... by Erioll · · Score: 1

    I can see the value of most of your points. You're right about the little tricks we engineers use to simplify logic circuits, but the potential advantages (might) outweigh the challenges. There has never really been an in-depth analysis of this, or a true attempt to make it work in quite some time.

    As for the argument that it will take too much commitment in overhead before it becomes widespread, you are right. Inertia drives so many things in human nature, that it is extremely difficult for new concepts and/or ideas to gain broad acceptance. The same can be said for any radical change in technological architechture, be it Quantum Computing, Ternary logic, or Asynchronous Computing, all have great benefits to be offered, with few persueing them because of "Old-School" barriers. Don't say something will never be done, or shouldn't be done purely because of such barriers.

    Erioll

  119. Applications on Clockless Logic by Amoeba+Protozoa · · Score: 3, Interesting

    First of all, hardware is getting smaller and smaller all the time, so the whole premise behind ternary computing (base 3 would use less hardware) doesn't apply, especially since brand new gates would have to be made in order to distinguish between 3 signal levels rather than 2, and that would be taking a HUGE step backwards.

    You really couldn't be more wrong! Ternary logic is at the basis of some of the hottest research in asynchronous logic design right now.

    For instance, if you had a group of transistors that computed multiplication and stored the output in a register you might see the value of that register change several times until the computation was completed. Right now, the only way that you know a computation is complete is that logic is designed to complete an action in X cycles; as long as you feed in the data and wait X cycles you will get the proper result. Clock cycles can be waisted here, because a simple multiplication might be completed in a single clock while harder multiplications might take the full amount of time the logic area is spec'ed for.

    Using async logic, this can be done much more effciently. The multiplication happens just as soon as input data is given and the next stage of the logic knows when the operation is complete because its wires has three states: 0, 1, and not-yet-done. As soon as all the wires are 0 or 1, the computation is finished (consequently, this is how input works to). There are no "wasted" clock cycles, stuff moves through the logic as quickly as it is completed.

    Of course, there has been some debate whether three states are needed on each wire, or an just additional acknowledgement wire is needed (say 8 wires + 1 for an 8-bit computation block). But, believe it or not there are already patents for both methods!

    I guess, by having true ternary logic on each wire, you could have logic that will grab a result just as soon as X% of the wires report they are done with the computation to get "good enough" answer if the logic is iteratively improving a problem.

    -AP

  120. To stimulate interest in information theory... by Anonymous Coward · · Score: 0

    Since a binary digit is called a "bit", a trinary digit would make ... a lot of boys want to take that class!

  121. Re:Nondigital computing by rbeattie · · Score: 1


    Think about flip-flops for a second. Isn't it just pure luck that it works at all? From my understanding it's an anomally of nature that when you have a gate and it's stuck to one side because of an electrical current, then when you stop and start the current again, the gate flip-flops and sticks to the other side. Not much rhyme or reason... it just does. And all of computer science is based on this weirdness.

    So my question is, what's a FLAP? Where does that fit in? It's not one side or the other of a gate, but a third option like "straight through"? It's nice to say this in theory, but the question is does nature DO that?

    -Russ

    --
    Me
  122. Computers store binary numbers for a reason. by Anonymous Coward · · Score: 0

    Digital circuits are binary simply because this
    is the easiest way to design them reliably. A ternary circuit may as well be a quatanary (sp?)
    circuit since the complexity is about double
    that. At the other extreme, everything could be
    done using analog techniques, but this is difficult and prone error due to noise.

  123. Tits by blanalex · · Score: 0

    Have you ever wondered if scientist one day create a ternary computer... We would talk about CPU in terms of tits instead of bits ;)

    we could see Penthouse, Hustler and Playboy publish articles on the computer industry: "Intel launched today its new 64-tits processor, code-named 'Pamela Handerson'. The popular former playmate claimed to be honored. Competitor Motorala maintains its 'Ally McBeal' processor line, claiming that although there is less processing units, it has firmer support."

    --
    #DEFINE QUESTION (2b)||(!2b) -- William Shakespeare
  124. Malbolge and Dis by Anonymous Coward · · Score: 0

    Finally, it will be easy (relativly so) to program in Malbolge and Dis!!

  125. Benchmarks? by tyoud1 · · Score: 1

    I wish he had a simple quicksort where he could show massively improved performance by having trinary numbers. Maybe he could write the program with normal binary numbers, and find a fudge factor to slow down normal commands, but speed up (to simulate trinary improvements) those commands that trinary could really improve.

    A theoretical benchmark would be interesting.

    Was his file folder insertion example meant to make us think of ways we could use trinary lookups on an actual filesystem?

  126. Schlock Mercenary by Jaborandy · · Score: 1

    This wonderful name for a trinary bit was first brought to my attention by the wonderful commentary that accompanies this strip of one of my favorite web-comics.

    Howard Tayler writes:

    Note: Just as the hard-wiring of binary mathematics spun the entire twentieth century about a simple yes-no axis, the invention of the three-state switch promised to revolutionize twenty-fifth century computing. After all, with three states (negative, positive, and null charges) on nanoswitches, computers could now think in terms of yes, no, and maybe, greatly humanizing their internal logic.

    This would have brought many, many more female engineers into the field of computer science (hence accelerating the pace at which computers could do useful things besides transmit, compress, and enhance pornography), except that the same abbreviational logic that turned "binary digit" into "bit" turned "trinary digit" into "tit." This nomenclatural error set computing back nearly three hundred years, and two entire generations of promising computer scientists were lost trying to keep abreast of bad puns.

    Enjoy!

  127. Another number base by death_denied · · Score: 1

    Didn't I read somewhere that reality is encoded in some kind of "dense base one" number system. It would be interesting to see memory elements that can store an indefinite amount of information at one address. (Sorry for not remembering where exactly I read it)

  128. Ternary Floating Point may be better by dmoen · · Score: 1

    What Goldberg shows is that base 2 is more efficient than base 10 or 16 on a binary machine.
    He does not show that base 2 floating point on a binary machine is superior to base 3 floating point on a ternary machine.
    Because of the wonderful properties of balanced ternary representation, I suspect the opposite. Base 3 balanced ternary floating point may well turn out to have nicer properties, and the hardware for adds, multiplies, etc, might well be more efficient.

    Doug Moen

    --
    I have written a truly remarkable program which this sig is too small to contain.
  129. Of course that's what I mean by SIGFPE · · Score: 1

    I'm just an idiot and you can have the patent.

    --
    -- SIGFPE
    1. Re:Of course that's what I mean by bnenning · · Score: 1
      I'm just an idiot and you can have the patent.


      <burns>Excellent</burns>. Now to craft a lawsuit against Sun for their unauthorized use of the >>> operator in Java...

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    2. Re:Of course that's what I mean by SIGFPE · · Score: 2
      What the hell is >>> in Java?


      Ignore this part of my post - it's just to pad the time spent writing this comment out to 20s so /. accepts it without me getting bored just sitting around and counting the seconds by on my watch which really is an exce

      --
      -- SIGFPE
  130. Another reason... by pspeed · · Score: 2

    Another reason that the computer industry grows exponentially is because the computer industry uses computer technology... which is growing exponentially. In other words, if I design my chip using a computer, as computers get faster so does chip design. As chip design gets faster, it becomes feasible to design more complicated chips... thereby allowing me to design more complicated chips which allow me to design more complicated chips...

    --
    Edu. sig-line: Choose rhymes with lose. Chose rhymes with goes. Loose rhymes with goose.
    Comparing? THEN use THAN.
  131. To be more precise... by Moooo+Cow · · Score: 1

    Three items is the best size for menus when you have to go through them in sequential order from start to end (as in the example of an automated phone response system - press 1 for blah, 2 for foo, etc). That is just simple mathematics - i.e. if you have 81 options, you'll only have to sit through 12 total choices if organized into 3-size menus nested 4 levels deep, compared with 18 total choices if organized into 9-size menus nested 2 levels deep.

    However, for a "random access" menu system, it would be quite a pain if I had to go through 4 levels of choices if I knew I wanted File->Save. In that case, it is better to organize them with basic usability in mind.

    --
    Slashdot is entertaining like pro wrestling is entertaining
  132. crackers by Niksie3 · · Score: 0

    think ab0ut it, crackers wi11 0ve it, this can make cracking passwds much faster!!! just feed the asci numbers t the thing, it it says that it shu01d be sma11er, then use 1ess characters, that did n0t make sence but y0u get my p0int

    PS n0t trying t0 be weird. but my keyb0ard is brken im s0rry if y0u have a hard time reading this!!!

    --
    Sig you!
  133. Can it run MIT's new "Cesium OS"? by 6EQUJ5 · · Score: 2


    Imagine what you could do with Cesium OS running on a ternary computer. Even better, a distributed system of Beowulf clusters running Cesium-based ternary processes! And perhaps a Natlie Portman wall paper, while looking at your fake Britney Spears porno at 3am, eating a taco with an old X-Files on television in the background...

    --

  134. 3^x dominates 2^x by Paul+Maud'Dib · · Score: 1

    You forget that, in the long run, 3^x dominates 2^x. Hence, if your theory about exponential growth is correct, then, given enough time, trenary computing will kick binary computing's ass!

    Unfortunately, businesses don't often think in terms of the long run. So this kind of stuff will probably get done at Universities for a while, or maybe at places like IBM. But if it really is /that/ much better, businesses won't be able to ignore this...or else they won't be there in the long run.

    --
    Checkout taccom my worl war II simulator
  135. Already used in networking. by RockyMountain · · Score: 1

    I'm surprised nobody has mentioned this yet, but signalling with greater than two voltage levels per wire (and hence more than one simultaneous bit per wire) is already common practice in at least one area: Ethernet.

    100Mbit ethernet uses 3 levels. Gigabit uses five. (Hope I got this right, I'm speaking from memory, and it's a while since I read the specs).

    So, 100Mbit ethernet uses trits, and GBit ethernet uses quits?

    Of course, it's really implimented with binary logic behind the scenes, and the conversion to & from multi-level logic happens right at the line trancievers.

  136. See, this is what I mean by Anonymous Coward · · Score: 0

    This is not just a bad troll, it's a stupid joke. Not a single person reading this will spend ten seconds thinking about your lack of skill at telling jokes, writing stories, or coming up with clever comments. They are just going to look at it, roll their eyes, and move on. If they've got mod points they'll slap it down, but other than that no one, except me, is going to dignify it with a reply. Are you doing this for a reason, or do you just get off on shitting your pants in public?

  137. Please bury this joke by Anonymous Coward · · Score: 0

    in a deep pile of rancid festering diseased feces at the bottom of an abandoned cyanide mine in between two active volcanoes at the distant apex of an uninhabited island far to the south in a vast ocean. Because it's just not funny anymore. Are you old enough to remember "Where's the beef?" commercials? Do you also remember how the novelty of the phrase wore the fuck out after about two weeks. Do you remember how people using it as a joke more than six months later frequently got punched hard in the arm with brass knuckles? That's how not funny this joke is. Get a new fucking line.

  138. That's a cut and paste from Usenet -- again! by BierGuzzl · · Score: 2

    Check it at google.com .

  139. Re:Nondigital computing by CaseyB · · Score: 2

    This comment was stolen off of Usenet.

  140. TIRED = bits, WIRED = trits by dgenr8 · · Score: 1

    'nuff said.

  141. ternary circuits.. by carlmenezes · · Score: 0

    A ternary ciruit could be implemented using zener diodes..
    state 1 -> current flowing in the forward direction (diode conducts)
    state 2 -> current flowing reverse (diode conducts)
    state 3 -> no current (diode is in cutoff)

    Then again, we could even use TRI-COLOR LEDs to implement an optical circuit.

    --
    Find a job you like and you will never work a day in your life.
  142. Niche applications by Pseudonym · · Score: 2

    You're right about the communication problem, IMO. That's why if ternary computing takes on, it will be limited to "inside" a single chip for a while. For example, an FPU or a DSP processor could make use of ternary arithmetic internally, converting to and from binary when you need to go off-chip. That may have advantages. A general-purpose ternary computer, however, probably won't be useful for a very long time if at all.

    --
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  143. Re:Nondigital computing: Root Not by volpe · · Score: 2

    Whoops! Thanks :).

  144. bitwise operators by Anonymous Coward · · Score: 0

    won't ternary be slower for using the &~^| operators?

  145. what the shit is this? by Anonymous Coward · · Score: 0

    228 of 319 posts? What the shit is that?! You trolls aren't trying hard enough, I never want to see another slashtrash story with over 1/2 posts valid!

  146. Why not base four? by Randym · · Score: 2
    1) Can emulate *either* base 2 or base 3, as well as actually being base 4.

    2) DNA is written in base 4 -- native language.

    3) Half the representation cost of base 2.

    4) Your own hands are naturally base 4 -- the thumb is a carry.

    --
    DNA is a Turing machine. You, however, being dynamic and emergent, are not.
    1. Re:Why not base four? by Black+Acid · · Score: 2

      The problem with base 4 is that 4 states do not naturally occur. Electrical states are negative, neutral, and positive, of arbitrary voltage. Four states would require a window detector. With base 3, you don't care about the voltage - only the polarity.

  147. Is'nt this possible with Nano-Tubes? by Anonymous Coward · · Score: 0

    I read many, lots, more than I can rember, articles a year or so ago about how nanotubes have the property of preserving spin of electorns... I.e. Up or down. My first thought when reading about this, for a project on crypto was 'this would make computers faster!!!' I ran it by a CS professor and he was like 'Damn, I suggest you read 'Why the future doesn't need us any more' " Any way if we used Nanot tubes as our wires we could have a ballanced ternary system. Negative, off, possitive.

  148. More info on Clockless Logic & ternary computi by Aapje · · Score: 1

    It's a really interesting and challenging field of study. A nice story about the history of clockless computing can be read here:

    Technology Review: It's Time for Clockless Chips

    Two quotes:

    An alternative, used by Theseus and others, is to open up a separate communication channel on the chip. Clocked chips represent ones and zeroes using low and high voltages on a single wire; "dual-rail" circuits, on the other hand, use two wires, giving the chip communications pathways, not only to send bits, but also to send "handshake" signals to indicate when work has been completed. Fant additionally proposes replacing the conventional system of digital logic with what he calls "null convention logic," a scheme that identifies not only "yes" and "no," but also "no answer yet"--a convenient way for clockless chips to recognize when an operation has not yet been completed. All of these ideas and approaches are different enough that executing them could confound the mind of an engineer trained to design to the beat of a clock.

    In 1997, Intel developed an asynchronous, Pentium-compatible test chip that ran three times as fast, on half the power, as its synchronous equivalent.

    --

    The Drowned and the Saved - Primo Levi
  149. What idiot marked the above as Offtopic? ... by N+Monkey · · Score: 1

    The article clearly described using a ternary system for building a tree of choices and this is closely related to it.

    Perhaps people with moderator rights should read the articles before criticising sensible and ontopic posts.

    /me goes off shaking his head.

  150. Ternary depends on binary by Hanul · · Score: 1

    From a more philosophical point of view... On a meta level you always have to rely on binary logic. In the case of a base 3 logic you have to decide which one of the three possibilities is actually happen. If you go with the states 0,1,2 or -1,0,1, you or the device have to "know" whether it is 0 or 1 or 2 (resp. -1 or 0 or 1). The "decision" which state is the current one is not a decision based on ternary logic, but based on binary logic. You can say, e.g. at the moment we have state 1 (true) and not 0 or 2 (which are both false). The decision isn't made on ternary logic itself, but falls back to binary. Ternary logic is NOT self-reflexive, because you can't apply ternary logic to itself. If you do you will end in an endless regress, so it is unlikely to have an advantage after all.

  151. Re:Ternary is cheaper for mathematics, not enginee by oojah · · Score: 1

    However we all know why is ECL nearly extinct

    Any evidence to back that up? ECL still gets used a fair bit in my experience. I challenge you to make a prescaler capable of operating at the 4GHz region without using ECL or SCL.

    Roger

    --
    Do you have any better hostages?
  152. Ternary computer by Anonymous Coward · · Score: 0

    Working ternary computer was done by Brusentzov in Moscow Uni in ~1970-1975. It's name was 'Setun'. Many books are written about (in Russian, sorry).

  153. Ternary logic in databases by Scrymarch · · Score: 1

    As an idle note, databases already use ternary logic, as (usually) any value can be officially unknown. So for a boolean field you can always have T,F, and ?.

  154. Further Applications by polyp2000 · · Score: 0

    Im surprised no-ones mentioned the idea of a beowulf cluster of these!

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
  155. Say no to base two fixation! by Ed+Avis · · Score: 2

    Perhaps the possibility (if still a while off) of ternary computing devices will encourage some people to avoid meaningless powers of two when picking arbitrary limits. I'm talking about things like the maximum length of a filename: no point making it 64 characters, when 50 or 100 would work just as well and not cause the reader of the code to worry about whether the power-of-two-ness was significant.

    Of course for buffer sizes you sometimes want the space to fit into an exact multiple of pages in memory. But a structure definition that has one int, one char and an int[128] is really pointless. Just make it a round number in base ten!

    --
    -- Ed Avis ed@membled.com
  156. good news for microsoft! by sjeng · · Score: 1

    Microsoft will love this.
    Now a bit can be true, false, or have crashed!

  157. What 3 switch cpu systems? by Anonymous Coward · · Score: 0

    Well have that, over in our labs currently. We however are working on LIGHT based cpu systems, and there are a few ways to do this level of processing the cost is pretty low, pert near about 3.50 per chip.

    The problem is funds, as even though the funds are bonded, the funds are kind of low.

    But some insider trader ago, said its all a question of the switches as to how fast the cpu works.

    However we do wonder what the current cost of 3 bit computing is?

  158. No difficulties in Implementation by DarkMan · · Score: 2

    Um, sorry. Listen to something.

    Doesn't matter what, but your speakers and sound card are well able to reporduce a signal to within 0.5 V.

    There are operational amplifiers working at radio frequencies, that have plenty of resolution and precision.

    Besides, if you were looking to do a ternery computer, you'd use -5V, 0V and +5V as your markers, drawing on decades of knowledge from analouge tecniqies, and then not have to worry.

    For those that don't know, the standard RS-232C serial bus uses a tri-state signal. Has done scince it's introduction.

    1. Re:No difficulties in Implementation by uslinux.net · · Score: 1

      Yes, and the standard RS-232C serial bus is slooooooow!

      I'm not sure about the engineering difficulties in allowing both negative and positive voltage through the same logic gates - after all, you wouldn't want to double the number of wires to gain both positive and negative voltages, since you'd double the number of wires, but only increase the number of bits by 50%.

  159. Ternary Digits by Cesium · · Score: 1

    I know tits have already been mentioned, but here goes anyway:

    If a Binary digIT is a BIT, it stands to reason that a Ternary digIT would have to be a tit. This is important as an advantage to Ternary based computers, as it will be a first opportunity for many in the computer programming and design industries, not to mention software authors, to actually get to play with tits! Not just a pair, but many many thousands!!! :)

    --
    Have you hugged your consitiutionally guaranteed right to freedom of expression today?
  160. Quadnery is better. by spineless+monkey · · Score: 1

    How about Quadnery? Yes!
    The values would be "less than," g"reater than," "equal to," and "who cares?" :)

  161. Stranger in a Strange Land, too by cryptochrome · · Score: 2

    If I'm not mistaken, the martians from Heinlein's "Stranger in a Strange Land" also used a base-three system of mathematics. Interesting. I wonder why he was so fond of it.

    --

    ---If you can't trust a nerd, who can you trust?

  162. Not cars again by jotaeleemeese · · Score: 1

    We have been using horse pulled carriages for as long as anybody seem to remember. It tooks us many centuries to reach the current state in traffic planning and efficent manure collection and disposal.

    I will believe that the car is a viable means of transport when I see one that goes faster than 10mph.

    --
    IANAL but write like a drunk one.
  163. Better, but how much better? by jmoloug1 · · Score: 1

    The article states that e is the "best" notational base, and that three is really good. But how much better is "3" than "2"? How does "3" compare with "4"? If the improvement is only a small percentage, then we're probably looking at a purely academic discussion. However, if the improvement were truly significant, then maybe we should explore ways of improving circuit design... Based on one of the graphs in the article, the curves depicting base versus "compactness" seemed pretty flat around 2, 3, and e. That tells me that there's only a small improvement to be gained from a much more complicated system.

  164. Re:Nondigital computing: Root Not by Lars+T. · · Score: 1

    Nitpick: you don't add more bits (binary digits), you change to (more) trits (in the case of Trinary)- or should they be called tits?

    --

    Lars T.

    To the guy who modded me down from perfect to terrible Karma - Apple haters still suck

  165. Re: Ternary plagiarism by Anonymous Coward · · Score: 0

    Spootnik, you are now on notice. Whenever I don't have mod points, I'm going to do a Google search and rat you out. Whenever I do have mod points, you're taking a -1 Overrated in the ass.

  166. "No such thing as two" by dankjones · · Score: 1

    "What an awful dream. Ones and zeroes everywhere. [shudder] And I thought I saw a two." -Bender
    "It was just a dream, Bender. There's no such thing as two." -Fry

  167. groupings of trits by Libertarian001 · · Score: 1

    So if in binary you have 1 bit, 2 bits = 1 nibble, 2 nibbles = 1 byte, does that mean in terary you have 1 trit, 3 trits = 1 tribble, 3 tribbles = 1 tribe?

  168. Re:Yes! Tits! by stonecypher · · Score: 1

    This remains funny right up and until you envision yourself on IRC, trying to explain the difference between megaTits and megaTeats to an idiot 15-year-old who thinks his cable modem gets more handwidth than your T1.

    It starts being funny again when you try to figure out which image compression format bets more Tits per megaTit.

    Etc.

    - Fatzilla

    --
    StoneCypher is Full of BS
  169. Trinary.cc: Implementation, Gates, Schematics, ... by Black+Acid · · Score: 2
    It seems as if most of the discussion around trinary logic is if it should be done. Authors cry, "Why doesn't anyone use trinary?!" yet don't even explore trinary themselves. Fortunately, someone has.

    I'm talking about Steve Grubb of Trinary.cc. His website has everything you wanted to know about trinary logic.

    Interesting to note there are six unary gates: invert, rotate up/down, shift up/down. I independently verified every one of the 27 unary functions can be created using those six.

    More interesting is the binary operators. Min analogous to OR, Max to AND, XMax to XOR. There's even a Mean and Magnitude to average and compare values of two trits, respectively. It's not all theory, though.

    Heck, Steve even has tested schematics of trinary gates. Too bad they're so complex, I expect something simplier is possible.

    Yet, chip manufacturers won't budge. Until trinary is more well-researched, I don't expect them too either. As Steve Grubb said,

    Where's the Chips !?!