What are the differences between bytecode, object code, machine code and binary code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What are the differences between bytecode, object code, machine code and binary code?

I know that my source code needs to be translated into some language which my machine could read, but these technical terms makes everything I know a little confusing, though I can keep going without bothering to understand them deeply, but still I kinda feel naive not knowing them.

11th Feb 2019, 1:03 PM
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】 - avatar
9 Answers
+ 2
Bytecode = code sequences of bytes. Used by executive platforms in Java, C# and e.t.c. Yes, Programs compiled into byte code can be moved across various platforms, but only in case if these platforms have a compatible executive environment for such bytecode. Object code - in General under such term means compiler output. Later such code used for complete build of program at stage called linkage. Machine code = sequences of instructions and data that can be executed or processed by particular processor. So, from such point - bytecode for Java, for example, also we can name "the machine code" for javavm. Binary code - this is "Just the form for information representation." Information in binary form encoded with sequences of 0 and 1. Bytecode, Object code, Machine code can be presented in binary code form. You can found additional forms for information encoding -The octal form and The hexadecimal form.
16th Feb 2019, 4:44 PM
alexey
+ 7
Bytecode is a computer object code that is processed by a program. Bytecode is a result of compiling source written in a language that supports this approach Object Code is a code produced by a compiler or assembler Machine code is a computer program written in machine instructions that can be executed directly by a computer's central processing unit A binary code represents text, computer processor instructions, or any other data using a two-symbol system. The two-symbol system used is often "0" and "1" from the "binary number system" The binary code assigns a pattern of binary digits, also known as bits, to each character, instruction, etc my source is Google to answer your question hope it may help :)
11th Feb 2019, 11:24 PM
Pokerfesh
Pokerfesh - avatar
+ 3
I don't know cause I just googled your question
11th Feb 2019, 11:41 PM
Pokerfesh
Pokerfesh - avatar
+ 2
But anyways did it help?
11th Feb 2019, 11:42 PM
Pokerfesh
Pokerfesh - avatar
+ 1
😂 Well played, not really!
11th Feb 2019, 11:46 PM
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】 - avatar
0
Pokerfesh So by your definition, any bytecode is also an object code. But what does it really make it special?
11th Feb 2019, 11:34 PM
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】
【𝓪𝓈𝒽𝓴𝓪ℕ♦ℝ𝓪𝓷𝒿𝓫𝓪𝓇】 - avatar
0
The level to understand the machine High Middle Low 101010
12th Feb 2019, 3:16 PM
Omar Khalil Bakhsh
Omar Khalil Bakhsh - avatar
0
bytecode is platform independent and all the other is platform dependent
13th Feb 2019, 6:09 AM
sree harsha
sree harsha - avatar
0
Ki bal bujoisa
16th Feb 2019, 6:56 PM
Kritiraj Kalita
Kritiraj  Kalita - avatar