Jump to content

Porting

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by TakuyaMurata (talk | contribs) at 01:28, 23 April 2003 (portability merged). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer programming, porting is a translation of a piece of software to a particular API, operating system, or generally any other computing environment than that for which it was written.

To port software is to edit it so that it can be compiled or otherwise run on that platform. This process may be extremely easy, requiring few (if any) tweaks to the code, or it may involve a lengthy and extensive rewrite.

Among common obstructs in porting are difference in endian and lack of particular hardware features such as floating-point number operation.

Portability is ease of porting process, which is one of goals in software engineering. The data compression programs Zip and Unzip are often held to be amongst the most portable and most ported, due to being a simple front end to a mathematical algorithm. Another more complicated but highly portable programs is VIM, or Vi IMproved: available in MS-DOS, Win16, Win32 (in graphical and text-only modes), MacOS 7.0 and OS X, BeOS and pretty much any flavour of Unix.