Conversation

🏳️‍🌈Bubby☸

does anyone know why binary "code" is referred to as "computer language" bc I'm very confused right now

1
0
0

@Bubbygoblin depends on what binary code.

Binary data is the “language of the computer” as the processor that does all of the calculations and logic to make everything work has something called an Instruction Set Architecture. That architecture specified how binary data should be laid out to tell the CPU what to do; kind of like a recipe for cooking.

2
0
0
Missing media descriptions
Show content

@Bubbygoblin in fact, to a computer everything is binary numbers; including text.

For text we use something called encoding schemes to map number sequences to text characters; one of the simplest of such schemes is ASCII

0
0
0

@LunaFoxgirlVT naw, i understand that, it's just when people say that binary is how computers talk... like, yes but also no?

1
0
0

@Bubbygoblin it is since computers only store numbers in base 2, in other words binary. So all communication, operation code sequences, etc. are encoded as binary.
Computers can’t count in base 10 like us.

2
0
0

@Bubbygoblin it’s also partially why computers are bad at decimal numbers, they have to be rounded to a nearest base 2, with floating point making them more and more imprecise the larger the number is.

1
0
0

@LunaFoxgirlVT o thats really cool, i had no idea! :D

0
0
0
(not helpful for the original question)
Show content

@LunaFoxgirlVT

it is since computers only store numbers in base 2, in other words binary.

This is not always true, for example there is something called Binary Coded Decimal (BCD), which is where each base 10 digit is stored with a binary code. They are even present on x86 (though not AMD64) Though more common in older instruction sets, especially mainframes.

https://en.wikipedia.org/wiki/Binary-coded_decimal

0
0
0