JVM what language to write?

JAVA virtual machine to the other language development, using C + language based on this assembly language is JAVA virtual machine itself only play a role to resolve
addition, JAVA is not slower than the C language, JAVA say ninety generally slow JAVA's time, and now in a period of outstanding JAVA program and the C program execution efficiency is up relatively little gap and is now ready as JAVA language like C, directly compiled into an executable file (not a virtual machine, cross-platform the cost of) a

not know if you've seen the excellent programming channel two (high-level code written using the underlying thinking) no, that which detailed story written from the high-level language compiler to process execution, by contrast disassemble the target file, found C, C ++, JAVA, dephi and other languages, and generally not on the target file length under the same quality much difference between a language running speed, speed, and you write code compiler process whether the rules are closely related. Available you can go and see this book.
Java underlying implementation is written in C language, as do a lot of packages, so speed is slower than the C language?
C JVM is written, so the JVM attacks are common buffer overflow.
c language, java6.0 have been open sourced.
In the JVM windows platform implementation is written by VC, you download the JDK actually have a src.zip, Java source code that is
original is written in C, such as javac commands, the latter function is written in java itself, such as api, now mostly open source, are interested can look at that project, called openjdk, you can also provide the code, maybe a future version will use.

 

Reproduced in: https://www.cnblogs.com/zhangyongjian/p/3648429.html

Guess you like

Origin www.cnblogs.com/it-deepinmind/p/12222593.html