So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
On Thu, 19 Mar 2026 01:59:30 -0500
BGB <cr88192@gmail.com> wrote:
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
That's not very interesting.
It's obvious that 5t->8b is best and there are multiple ways of doing it cheaply.
There is no denser T->B packing until 17t->27b, which is obviously impractical.
An opposite is a little more interesting, i.e. packing binary data to
ternary storage.
There could be two separate challenges: do it in the way that is easy
to implement on binary logic or do it in a way that is easy to
implement in ternary logic. Not that I know which basic ops are easy in ternary logic.
The most likely candidate is 11b->7t, but figuring out details can be interesting for somebody with a lot of spare time at hand.
On 3/19/2026 4:51 AM, Michael S wrote:
On Thu, 19 Mar 2026 01:59:30 -0500
BGB <cr88192@gmail.com> wrote:
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
That's not very interesting.
It's obvious that 5t->8b is best and there are multiple ways of doing it
cheaply.
There is no denser T->B packing until 17t->27b, which is obviously
impractical.
Granted...
An opposite is a little more interesting, i.e. packing binary data to
ternary storage.
There could be two separate challenges: do it in the way that is easy
to implement on binary logic or do it in a way that is easy to
implement in ternary logic. Not that I know which basic ops are easy in
ternary logic.
The most likely candidate is 11b->7t, but figuring out details can be
interesting for somebody with a lot of spare time at hand.
Possible, though I realized after doing a mock-up that my original idea failed at one of its primary goals:
To be significantly cheaper to decode in hardware than the naive polynomial...
Or, naive: enc=va+vb*3+vc*9+vd*27
It failed in that it would still require looking at all 7 bits of the
4t/7b case to determine the value of each trit.
I was then fiddling with other schemes, to hopefully find one that
allows for cheaper decoding (namely, requiring at most 5 or 6 bits to be examined to determine the value of any given trit).
But, at the moment, I haven't figured out a good encoding scheme that
could achieve this goal...
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
Likely mapping here would map 0/1/-1 as 0/1/2
-----------------------------
But, any thoughts?...
BGB <cr88192@gmail.com> posted:
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
Likely mapping here would map 0/1/-1 as 0/1/2
Consider binary NAND gate, then
consider binary NOR gate with inverted inputs !
All you are doing is assigning a value to a voltage.
-----------------------------
But, any thoughts?...
never going to fly so I waste no time on assembling a failure.
smatter people than me discarded it long ago in the age of tubes
where it was "not that hard" to build trit-gates and storage.
On 2026-03-19 6:30 p.m., MitchAlsup wrote:
BGB <cr88192@gmail.com> posted:
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
Likely mapping here would map 0/1/-1 as 0/1/2
Consider binary NAND gate, then
consider binary NOR gate with inverted inputs !
All you are doing is assigning a value to a voltage.
-----------------------------
But, any thoughts?...
never going to fly so I waste no time on assembling a failure.
smatter people than me discarded it long ago in the age of tubes
where it was "not that hard" to build trit-gates and storage.
Now there are quantum computers and I think they are four-state.
So maybe they could handle ternary.
On 2026-03-19 6:30 p.m., MitchAlsup wrote:
BGB <cr88192@gmail.com> posted:
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
Likely mapping here would map 0/1/-1 as 0/1/2
Consider binary NAND gate, then
consider binary NOR gate with inverted inputs !
All you are doing is assigning a value to a voltage.
-----------------------------
But, any thoughts?...
never going to fly so I waste no time on assembling a failure.
smatter people than me discarded it long ago in the age of tubes
where it was "not that hard" to build trit-gates and storage.
Now there are quantum computers and I think they are four-state.
On 2026-03-20 1:17, Robert Finch wrote:
On 2026-03-19 6:30 p.m., MitchAlsup wrote:
BGB <cr88192@gmail.com> posted:
So, idea:
Schemes for densely packing ternary values in a way that allows for
cheap hardware decoding (assuming implementation on binary hardware).
Likely mapping here would map 0/1/-1 as 0/1/2
Consider binary NAND gate, then
consider binary NOR gate with inverted inputs !
All you are doing is assigning a value to a voltage.
-----------------------------
But, any thoughts?...
never going to fly so I waste no time on assembling a failure.
smatter people than me discarded it long ago in the age of tubes
where it was "not that hard" to build trit-gates and storage.
Now there are quantum computers and I think they are four-state.
I don't see in what sense qubits are "four-state". AIUI the state of a
qubit is a superposition of "0" and "1" where the "proportions" of the
two pure values can depend (via entangling) in a complex way on the
states of other qubits. At the end of a quantum computation the "read-
out" value of a qubit is 0 or 1, so binary.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,104 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 492389:01:03 |
| Calls: | 14,151 |
| Calls today: | 2 |
| Files: | 186,281 |
| D/L today: |
2,617 files (990M bytes) |
| Messages: | 2,501,190 |
| Posted today: | 1 |