What are the advantages of using Virtual Machine compilation (eg. JVM) over natively compiled languages?

后端 未结 8 1167
既然无缘
既然无缘 2020-12-24 13:26

I\'ve heard that the advantage of java is that people can write code, compile it for the JVM, and run it anywhere. Each person just needs a JVM app for their platform.

8条回答
  •  梦谈多话
    2020-12-24 14:10

    Portability mostly. The same Java binary can run on Linux/Mac/Windows. Plus SPARC/PPC/x86/x86-64/ARM/MIPS etc. Read: same binary. No recompilation needed. :)

提交回复
热议问题