2019-12-12Machine code and bytecode

    Machine code can be recognized and run directly by computer, so its execution speed is fast.

    But machine code is an instruction code composed of 0 and 1, which is complex to write, poor to read and difficult to maintain.


    Bytecode is a kind of binary code with intermediate state, which needs to be interpreted by the translator before it can become machine code, so it runs relatively slowly, but its execution is independent of the hardware environment,that is, one-time compilation and multiplatform operation.

你可能感兴趣的:(2019-12-12Machine code and bytecode)