Source-code compatibility


Source-code compatibility means that a program can run on computers, independently of binary-code compatibility and that the source code is needed for portability.
The source code must be compiled before running, unless the computer used has an interpreter for the language at hand. The term is also used for assembly language compatibility, where the source is a human-readable form of machine code that must be converted into numerical machine code by an assembler. This is different from binary-code compatibility, where no recompilation is needed.
Source compatibility is a major issue in the developing of computer programs. For example, most Unix systems are source-compatible, as long as one uses only standard libraries. Microsoft Windows systems are source-compatible across one major family, with partial source compatibility between the two families.