+ 1
How many machine language invented till now?
I want know if there is another machine language away of 0 & 1
2 ответов
+ 7
Ok lets clarify some conceptions first.
Binary is not really only 0 and 1. Binary is two different states.
For example:
Low voltage or high voltage
Dark or Light.
But why we use 0 and 1?
Because cpus are designed to understand this abstraction.
Ok? So There are other options to binary?
Yes. You can build a computer using ternary logic or you can build a computer in any base you like.
The problem is that its not easy to implement. Another reason is because a lots of applications binary is sufficient. We got to deep in binary and implement from beggining a new model is kind of a pain.
To computers exists in the way we know today was put a lot of effort, resources, years and lives.
Maybe one day we will use another model. But until that day computers will count in base 2.
+ 7
Anya Nice reference to ternary logic. 😉👌
yasser sallam Here are a few links that might help you better understand the few computing logic bases I'm aware of so far:
https://www.howtogeek.com/367931/htg-explains-how-does-a-cpu-actually-work/
https://www.techopedia.com/why-not-ternary-computers/2/32427
https://hackaday.com/2016/12/16/building-the-first-ternary-microprocessor/
https://en.m.wikipedia.org/wiki/Ternary_computer
https://en.m.wikipedia.org/wiki/Quantum_computing
- https://en.m.wikipedia.org/wiki/Qubit
- https://en.m.wikipedia.org/wiki/Qutrit
https://en.wikipedia.org/wiki/Optical_computing#Photonic_logic