Source-code compatibility (source-compatible) means that a program can run on computers (or operating systems), independently of binary-code compatibility and that the source code is needed for portability.[1]

The source code must be compiled before running, unless the computer used has an interpreter for the language at hand.[2] 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 (i.e. executable) machine code by an assembler. This is different from binary-code compatibility, where no recompilation (or assembly) is needed.[3]

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 (the Windows NT family, from NT 3.1 through Windows 11, or the family that includes Windows 95, Windows 98, and Windows Me), with partial source compatibility between the two families.

See also

edit

References

edit
  1. ^ Baron, R.J.; Higbie, L. (1992). Computer Architecture. Addison-Wesley series in electrical and computer engineering. Addison-Wesley Publishing Company. p. 106. ISBN 978-0-201-50923-6. Retrieved 9 May 2018.
  2. ^ Data Processing Digest. Data Processing Digest, Incorporated. 1980. p. 21. Retrieved 9 May 2018.
  3. ^ Stern, M.; Monti, G.; Bachmann, V. (1998). NT Enterprise Network Design (in Estonian). Sybex, Network Press. p. 17. ISBN 978-0-7821-2156-8. Retrieved 9 May 2018.


📚 Artikel Terkait di Wikipedia

Binary-code compatibility

typically machine code for a general-purpose computer central processing unit (CPU), that another computer system can run. Source-code compatibility, on the other

Source-to-source compiler

application programming interface (API) that breaks backward compatibility. It will perform automatic code refactoring which is useful when the programs to refactor

Internet leak

Internet, the most common being personal information, computer software and source code, and artistic works such as books or albums. For example, a musical album

Open-source software

software and its source code to anyone and for any purpose. Open-source software may be developed in a collaborative, public manner. Open-source software is

Proton (software)

from CodeWeavers. It is a collection of software and libraries combined with a patched version of Wine to improve performance and compatibility with Windows

Application binary interface

before compilation, whereas an ABI defines an interface to compiled code. API compatibility is generally the concern for system design and of the toolchain

License compatibility

address license compatibility problems by permitting, without re-licensing, the mixing of CDDL-licensed source-code files with source-code files under other

Compatibility layer

software. ipasim is a compatibility layer for Windows that uses WinObjC to translate code from Objective C to native Windows code. aah (sic) is a program