ertry03bx08
Niezły forumowicz
Joined: 06 May 2013
Posts: 2444
Read: 0 topics
Warns: 0/10
Location: England
|
Java bytecode
Java bytecode,[link widoczny dla zalogowanych]
Introduction Edit
Java bytecode is the form of instructions that the Java virtual machine executes. Each bytecode instruction or opcode is one byte in length; however,[link widoczny dla zalogowanych], not all of the possible 256 instructions are used. In fact,[link widoczny dla zalogowanych], Sun Microsystems, the original creators of the Java programming language,[link widoczny dla zalogowanych], the Java virtual machine and other components of the Java Runtime Environment (JRE), have set aside 3 values to be permanently unimplemented. [1]
A Java programmer does not need to be aware of or understand Java bytecode at all. However, as suggested in the IBM developerWorks journal, "Understanding bytecode and what bytecode is likely to be generated by a Java compiler helps the Java programmer in the same way that knowledge of assembler helps the C or C++ programmer." [2]
Execution Edit
Java bytecode is designed to be executed in a Java virtual machine. There are several virtual machines available today both free or commercial,[link widoczny dla zalogowanych].
Further information: If executing Java bytecode in a Java virtual machine is not desirable,[link widoczny dla zalogowanych], a developer can also compile Java source code or Java bytecode directly to native machine code with tools such as the GNU Compiler for Java. Some ARM processors have the ability to execute bytecode directly.
相关的主题文章:
[link widoczny dla zalogowanych]
[link widoczny dla zalogowanych]
The post has been approved 0 times
|