←back to thread

182 points Twirrim | 1 comments | | HN request time: 0s | source
Show context
pabs3 ◴[] No.41875419[source]
Hmm, I wonder if any modern languages can work on computers that use trits instead of bits.

https://en.wikipedia.org/wiki/Ternary_computer

replies(2): >>41875556 #>>41875664 #
1. cobbal ◴[] No.41875664[source]
Possible, but likely slow. There's nothing in the "C abstract machine" that mandates specific hardware. But, the bitshift is only a fast operation when you have bits. Similarly with bitwise boolean operations.