![]() ![]() The JVM or interpreter converts the bytecode into instructions that can be executed by the hardware processor. ![]() Bytecode, which was first introduced in the Java programming language, is an intermediate language that can be executed on any system platform running a Java virtual machine ( JVM) or bytecode interpreter. Some compilers can translate source code to bytecode instead machine code. For example, a compiler might output machine code for the Linux 圆4 platform or Linux ARM 64-bit platform. The outputted machine code is made up entirely of binary bits - 1s and 0s - so it can be read and executed by the processors on the target computers. This type of output is sometimes referred to as object code (which is not related to object-oriented programming). A compiler that supports the source programming language reads the files, analyzes the code, and translates it into a format suitable for the target platform.Ĭompilers that translate source code to machine code target specific operating systems and computer architectures. A programmer writes the source code in a code editor or an integrated development environment ( IDE) that includes an editor, saving the source code to one or more text files. The source code is typically written in a high-level, human-readable language such as Java or C++. A compiler is a special program that translates a programming language's source code into machine code, bytecode or another programming language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |