Compile and go system
Program execution |
---|
General concepts |
Types of code |
Compilation strategies |
Notable runtimes |
|
Notable compilers & toolchains |
|
In computer programming, a compile and go system; compile, load, and go system; assemble and go system; or load and go system[1][2][3] is a programming language processor in which the compilation, assembly, or link steps are not separated from program execution. The intermediate forms of the program are generally kept in primary memory, and not saved to the file system.[4][5][6][7][8][3][1][2]
Examples of compile-and-go systems are WATFOR, PL/C, and Dartmouth BASIC.[3] An example of load-and-go systems is the loader Anthony J. Barr wrote for the University Computing Corporation in 1968 that was replaced in the market by the IBM OS/360 loader in 1972. These OS/360 loaders performed many of the functions of the Linkage Editor but placed the linked program in memory rather than creating an executable on disk.[9] Compile and go systems differ from interpreters, which either directly execute source code or execute an intermediate representation.
Analysis
Advantages of compile-and-go systems are:
- The user need not be concerned with the separate steps of compilation, assembling, linking, loading, and executing.
- Execution speed is generally much superior to interpreted systems.
- They are simple and easier to implement.[dubious – discuss][3]
Disadvantages of compile-and-go loaders are:
- There is wastage in memory space due to the presence of the assembler or compiler.[7][3]
- The code must be reprocessed every time it is run.[10][7][3]
- Systems with multiple modules, possibly in different languages, cannot be handled naturally within this framework.[7][3]
Compile-and-go systems were popular in academic environments, where student programs were small, compiled many times, usually executed quickly and, once debugged, seldom needed to be re-executed.
See also
References
Cross-reference
- ^ a b Weik 2000a, p. 66.
- ^ a b Weik 2000b, p. 260.
- ^ a b c d e f g Dhotre & Puntambekar 2008, pp. 3–2.
- ^ Donovan 1972, pp. 150.
- ^ Janson 1985, pp. 184.
- ^ Morris 1992, pp. 477.
- ^ a b c d Isrd 2006, pp. 226.
- ^ Joseph 2007, pp. 130.
- ^ IBM Corporation (1972). IBM OS Linkage Editor and Loader (PDF).
- ^ Janson 1985, pp. 189.
Sources used
- Dhotre, I.A.; Puntambekar, A.A. (2008). Systems Software. Technical Publications. ISBN 9788184315004.
- Donovan, John J. (1972). Systems programming. McGraw-Hill computer science series. McGraw-Hill.
- Isrd (2006). Computer Organization. ACE series. Tata McGraw-Hill Education. ISBN 9780070593619.
- Janson, Philippe (1985). Operating systems: structures and mechanisms. Academic Press. ISBN 9780123802309.
- Joseph, M. (2007). System Software. Firewall Media. ISBN 9788131800362.
- Morris, Christopher G. (1992). "compile-and-go". Academic Press dictionary of science and technology. Gulf Professional Publishing. ISBN 9780122004001.
- Weik, Martin H. (2000a). "assemble-and-go". Computer science and communications dictionary. Vol. 2. Springer. ISBN 9780792384250.
- Weik, Martin H. (2000b). "compile-and-go". Computer science and communications dictionary. Vol. 2. Springer. ISBN 9780792384250.