Difference between revisions of "Portable"

From Computer History Wiki
Jump to: navigation, search
(An OK start)
 
m (Proper cat, +links)
Line 1: Line 1:
'''Portable''' [[software]] is that which either can, or is designed to be, run on different kinds of computers. 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 language.
+
'''Portable''' [[software]] is that which either can, or is designed to be, run on different kinds of computers. 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 [[operating system]]s, [[UNIX]] being the first.  
 
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 system]]s, [[UNIX]] being the first.  
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}}

Revision as of 18:20, 20 October 2018

Portable software is that which either can, or is designed to be, run on different kinds of computers. 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).