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

1

u/vecteur_directeur Nov 07 '24

You can dynamically change the threshold voltage of a transistor by altering the voltage applied to certain terminals. So it’s not ideal but technically you can have multiple thresholds/states with only one transistor

1

u/TheThiefMaster Nov 07 '24

I think the supporting circuitry to do that would actually involve more transistors...

It only really gets beneficial at higher level counts like in e.g. an ADC, which build the digital value a bit or two at a time from dynamic voltage level adjustment. But at that point it's just binary logic with a shared multi-level transmission line rather than true ternary or N-ary logic.