Differences between MSIL and Java bytecode?

前端 未结 8 1309
南笙
南笙 2020-12-07 08:08

I\'m new to .Net and I\'m trying to understand the basics first. What is the difference between MSIL and Java bytecode?

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 09:11

    CIL aka MSIL is intended to be human-readable. Java bytecode is not.

    Think of Java bytecode as being machine code for hardware that does not exist (but which JVMs emulate).

    CIL is more like assembly language - one step from machine code, while still being human-readable.

提交回复
热议问题