|
| ||||||||||
| Tags: byte code, machine code, programming code, windows |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| what is the difference between machine code and byte code
|
|
#2
| |||
| |||
| Re: what is the difference between machine code and byte code
Generally, "machine code" refers to the data that can be executed by a certain computer, while "bytecode" refers to data that can be executed by a virtual machine. JAVAC compiles the java file and converts the program in bytecode (machine independent). The virtual machine takes the bytecode and produces machine code appropriate for the actual machine it is running on. |
|
#3
| |||
| |||
| Re: what is the difference between machine code and byte code
Byte Code is in the form of binary codes like 0/1 whether ASCII code is in the form of numeric digits which is assigned to characters and alphabets. Byte code is platform independent where ASCII codes are platform dependent. IT is different to a byte code interpreter. Consider the following C function: Code: int sum() {
return 5 + 6;
} |
|
#4
| ||||
| ||||
| Re: what is the difference between machine code and byte code
In a bytecode interpreter, the instruction format is usually designed for very fast "parsing" using shift and mask operators. Byte-code is a sort of intermediate code that is more abstract than machine code. It is often treated as a binary file containing an executable program much like an object module , which is a binary file containing a machine code produced by compilers.The interpreter, after "parsing" (I prefer "decoding") the instruction, immediately updates the state of the virtual machine and then begins decoding the next instruction. So after the bytecode gets processed in an interpreter, no remnant remains. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "what is the difference between machine code and byte code" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help on removing Activation Required message BlackBerry 9930 Bold with MSL code SPC code | Groupism | Portable Devices | 14 | 14-03-2012 02:54 AM |
| startup error code:0x80090006 ,,unable to locate activation code | Mr.Walter | Windows XP Support | 3 | 04-01-2012 05:08 PM |
| Running a batch file from a remote machine in a VB code | Radhu | Software Development | 1 | 14-10-2011 04:54 PM |
| What is difference between PIN2-PUK-PUK2 code | Mansi gala | Portable Devices | 3 | 15-09-2009 01:06 PM |
| Error code 43 unable to open Time Machine | Xan | Operating Systems | 5 | 03-04-2009 11:05 AM |