Difference between revisions of "Portable"
(An OK start) |
(→External links: +DMR portability stuff) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | '''Portable''' [[software]] is that which either can, or is designed to be, run on different kinds of computers. | + | '''Portable''' [[software]] is that which either can, or is designed to be, run on different kinds of computers or [[operating system]]s (or both). For the former, it cannot be written in [[assembly language]] (which is inherently specific to one type of machine), but had to be written in a higher-level [[programming language]]. |
− | Initially [[application]]s written in [[FORTRAN]] or [[COBOL]] were some of the first examples of portable code. With the advent of [[C programming language|C]], it became possible to have portable | + | Initially [[application]]s written in [[FORTRAN]] or [[COBOL]] were some of the first examples of portable code. With the advent of [[C programming language|C]], it became possible to have portable operating systems, [[UNIX]] being the first. |
(Other OS's had been written in higher-level languages before that, such as [[Multics]], but for a variety of reasons they were not portable.) | (Other OS's had been written in higher-level languages before that, such as [[Multics]], but for a variety of reasons they were not portable.) | ||
Line 7: | Line 7: | ||
Almost all software is now portable, although care has to be taken to make sure it does not trip over things which can make porting non-trivial (e.g. writing code which depends on a specific [[word]] length). | Almost all software is now portable, although care has to be taken to make sure it does not trip over things which can make porting non-trivial (e.g. writing code which depends on a specific [[word]] length). | ||
− | {{stub}} | + | {{semi-stub}} |
+ | |||
+ | ==External links== | ||
+ | |||
+ | * [https://www.bell-labs.com/usr/dmr/www/portpapers.html Papers about Unix Portability] | ||
+ | ** [https://www.bell-labs.com/usr/dmr/www/portpap.html Portability of C Programs and the UNIX System] | ||
+ | |||
+ | [[Category: Basics]] |
Latest revision as of 03:32, 30 January 2023
Portable software is that which either can, or is designed to be, run on different kinds of computers or operating systems (or both). For the former, it cannot be written in assembly language (which is inherently specific to one type of machine), but had to be written in a higher-level programming language.
Initially applications written in FORTRAN or COBOL were some of the first examples of portable code. With the advent of C, it became possible to have portable operating systems, UNIX being the first.
(Other OS's had been written in higher-level languages before that, such as Multics, but for a variety of reasons they were not portable.)
Almost all software is now portable, although care has to be taken to make sure it does not trip over things which can make porting non-trivial (e.g. writing code which depends on a specific word length).