Assembly code vs Machine code vs Object code?

后端 未结 10 2020
执笔经年
执笔经年 2020-11-27 09:11

What is the difference between object code, machine code and assembly code?

Can you give a visual example of their difference?

10条回答
  •  孤街浪徒
    2020-11-27 09:40

    I think these are the main differences

    • readability of the code
    • control over what is your code doing

    Readability can make the code improved or substituted 6 months after it was created with litte effort, on the other hand, if performance is critical you may want to use a low level language to target the specific hardware you will have in production, so to get faster execution.

    IMO today computers are fast enough to let a programmer gain fast execution with OOP.

提交回复
热议问题