r/computerscience • u/redditinsmartworki • 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
View all comments
Show parent comment
1
u/guygastineau Nov 06 '24
For fast transmission protocols like Ethernet and faster WiFi standards actually interpret the analog signal to get multiple bits at a time for better throughout. SPI, i2c, etc still drive a binary logic signal, but there are many fast protocols that take advantage of their analog nature. This is often done by using a wide frequency band, and assigning numbers to sub ranges of that channel. The more sensitive the hardware and nore robust the signal the more bits we can pack into one read of the analog signal.