r/computerscience • • Nov 05 '24

Why binary?

Why not ternary, quaternary, etc up to hexadecimal? Is it just because when changing a digit you don't need to specify what digit to change to since there are only two?

16 Upvotes

98 comments sorted by

View all comments

Show parent comment

2

u/Pawithers Nov 05 '24

Yes, but how would you measure the charge levels? You would need some kind of measuring device that would have N number on/off states to measure N charges. So ultimately it’s still comes down to binary.

7

u/[deleted] Nov 05 '24

There actually have been ternary computers. Ternary have values of (-1, 0, 1) for bits. So they do exist. They just r more work with minimal advantages so no one uses them.