# binary

Printable View

Show 80 post(s) from this thread on one page
Page 4 of 4 First 1234
• 12-04-2002
dP munky
Quote:

Originally posted by Polymorphic OOP
Binary is in no way a programming language.

If you were to consider binary a language, then you'd just as well be saying that the arabic base 10 number system was a programming language. Binary just happens to be the medium.

i thought he made it pretty clear w/this quote right here!
• 12-04-2002
Sebastiani
>>And I still didn't get a straight answer....

Sure you did. It's not a language. However, the term is sometimes used to refer to machine level programming.
• 12-04-2002
DavidP
Quote:

Well than you missed the whole first part of the topic. It's not a matter of opinion -- Binary is not a language, it's just a nubmer system on which languages can be formed.
Stop being so anal, Poly. Binary is not only a number system, but in the computer world it is also a slang form of machine code. We all know that officially the lowest level of programming is "machine code", but we like to call it binary. So just stop being so anal about it.

Oh and also, in objection one of your earlier posts, you made an analogy to binary being the alphabet. No it's not. 1 and 0 is the alphabet, just like A and B. Binary is the "language" that uses the alphabet. Ha.
• 12-04-2002
DavidP
Quote:

For instance -- if binary were a language, you would be able to tell me, without a doubt, what this meant

1101000101101010111
your right i cant because im not fluent in binary...but i sure can tell you what this means:

10111000000100110000000011001101000100001011101000 00011001011110011111111100000000101110100000000000 00000010001000110010001100110100010000111000101111 10101011010011001101000101101011100000000011000000 0011001101000100001100110100100001

what it means:

initialize 13h
call put pixel function
start loop
tell coordinates and color of pixel
plot pixel
go back to start of loop until loop counter hits 0
wait until a key is pressed
go back to text mode
end program
• 12-04-2002
Polymorphic OOP
Quote:

Originally posted by DavidP
Stop being so anal, Poly.
We're being anal because the question asked was very specific -- is binary a language?

The answer is no!

Quote:

Originally posted by DavidP
your right i cant because im not fluent in binary...but i sure can tell you what this means:

10111000000100110000000011001101000100001011101000
00011001011110011111111100000000101110100000000000
00000010001000110010001100110100010000111000101111
10101011010011001101000101101011100000000011000000
0011001101000100001100110100100001

what it means:

initialize 13h
call put pixel function
start loop
tell coordinates and color of pixel
plot pixel
go back to start of loop until loop counter hits 0
wait until a key is pressed
go back to text mode
end program

No, in binary it's a number. Even if you were to say "binary is slang for machine code" the fact is that not all "machine code" is the same. Saying "the value above in binary means [such and such] set of instructions in the programming language of binary" is not accurate at all. Not all "machine code" is the same. If you were to say "in this type of machine code, this means..." then you would be accurate. It's not even being that anal! It's just like the analogy between an alphabet and a language. If you understand that, then I can't see how you don't understand this.
• 12-04-2002
Polymorphic OOP
Quote:

Originally posted by DavidP
Oh and also, in objection one of your earlier posts, you made an analogy to binary being the alphabet. No it's not. 1 and 0 is the alphabet, just like A and B. Binary is the "language" that uses the alphabet. Ha.
Haha, wow, you really just don't get it!

Depending on how the LANGUAGE written using binary as a medium interperets the data is what determines what a "letter" or "word" or "sentence" is -- 1 and 0 aren't any more letters than 10 and 11. Just the fact that it's more than one digit doesn't make it a "letter" and multiple bits "words." The anology wasn't that every digit in binary represents a letter or a string represents a letter, or anything like that. The point is it's all up to the LANGUAGE that the program is written in to determine how the data is interpretted!

IE in one langauage it's possible that

1010101010101010

represents multiplication

but in another language

11101100

might represent multiplication.

What you call a "letter" means nothing -- you can call a letter a digit or you can call a letter a group of digits. I won't extend the analogy any further because that's all it is is an analogy! There's not going to be a 1 to 1 correspondence to everything in a written language using an alphabet to one based on numbers. The point is the concept is the same. "Binary" means nothing in terms of "vocabulary" or "syntax" or what a "letter" is. It's just how data is stored. The language that it's written in is what tells you that other information.
• 12-05-2002
no-one
Simplify:

1. Machine code is technically a language.

2. Binary is machine code.

extrapolate:

"Binary" code is technically a language.

now for the question!

is Binary a programming language?

well lemmie see here... can i program with it? yes.

but god only knows why you would want to!
• 12-05-2002
Polymorphic OOP
Quote:

Originally posted by no-one
2. Binary is machine code.
No it's not.

Machine code is written with binary as a medium. Binary is NOT machine code.
Show 80 post(s) from this thread on one page
Page 4 of 4 First 1234