computer software in general
Programming language compilation is the step in computer software's development and development process when the source code for a program (written in a programming language) is converted from its original source code in the source language to the target language (compiled). Most modern computer software is written in a single, specific programming language. To allow the software to function correctly in the target language, it is converted to the target language through the process of source code compilation. It is this step that makes it possible for a piece of software to work under a wide variety of hardware.
Compiling source code [ edit ]
Programmers frequently develop the source code using compilers such as the C or Java programming language compiler, both of which are built on the long-standing art of procedural generation and symbolic computation. A separate step exists when the source code is converted from the source language to the target language. The goal is to produce a compact source code that will run on all supported operating systems.
This step is called source code translation, source code conversion, or source code transformation and often carries the implicit requirement that the resulting source code is free from any errors introduced by its predecessors. In general, source code translation is done to either target source code for one specific language or even for a set of multiple languages.
Source code is typically converted into a target language at a computer programming language (CSL) such as C, C++, or a larger number of other languages, such as Java, VB.Net, OCaml, Pascal, Ruby, Python, PHP, Perl, PHP, or Erlang. The exact architecture, implementation, and language choice for the C/C++ compiler may be markedly different from the architecture, implementation, and language choice for the language of the target system. For example, to translate VB.Net source code to C, a separate cross compiler is necessary to convert VB.Net to the native C language (i.e., C++), and so forth.
For source code that is native to one target language, but perhaps does not fit well into that language, the resulting binary is usually converted into a compiled language, where some elements of the original code are translated to the compiled language. This is typically what is done for libraries (such as .NET). The C and C++ compilers, for instance, provide special tools for performing this conversion. The resulting code may still use large amounts of code from the target language, but the resulting binaries are more efficient (both because fewer programs are run during compilation and because less analysis and compilation time is required).
The specific tools used for translation often vary by compiler, but some general tools that many compilers have in common include the following.
Deoptimization is one of the most common and important issues in source code translation. Usually, it occurs when a program must do
Tags:
Tech