|
|
|
|
|
by ttt111222333
3105 days ago
|
|
Apparently ternary is the 'sweet spot' for computing because it's closer to e (2.7...). We used binary for a while because on / off was the only way we processed stuff but now we have the ability to do ternary with more accurate measures of voltage? Something like that. Apparently ternary makes math easier in terms of signs etc. as well. The below article explains it better. https://dev.to/buntine/the-balanced-ternary-machines-of-sovi... Given the wealth of experience with binary though I don't think its prudent to jump to ternary... |
|
There's a lot of people thinking in ternary already, and not realizing it. bool? is ternary: true, false, or null. Think about the implications on error handling of such a primitive at the logic level. I'm positive that's true, I'm positive that's false, I'm not sure. It's a pretty powerful way of computing, and has a lot of implications up the stack.
If you step back and look at the gymnastics we do around boolean logic and arithmetic in typical, day-to-day programming, being able to express a third state at the logic level is something you never knew you wanted. New logic based on unknown values could be expressed -- think about a tritmask, for example, and what you could express with a number of "don't care" trits. I certainly see the value in ternary, with the caveat that I know nothing about IOTA nor how it uses it.
I've seen discussion about "why don't we build 128-bit computers?" and I think it's a similar thought exercise to "why don't we build 63-trit computers?" with the added complexity of three-level logic compared to plain word extension. I gather that a lot of benefits of ternary overlap with what's going to happen in quantum computing, too, though approaching ternary from a traditional computing mindset makes it a lot easier to understand for me.