{
  "id": "enwiki-001378575560",
  "slug": "porting",
  "title": "Porting",
  "qid": "",
  "lead": "In software development, porting is the process of adapting software to run in a different context. Often it involves modifying source code so that a program can run on a different platform (i.e. on a different CPU or operating system) or in a different environment (i.e. with a different library or framework). It also describes adapting a change or feature from one codebase to another even between different versions of the same software. Software is classified as portable if it can be hosted in a different context with no change to the source code. It might be considered portable if the cost of adapting it to a context is significantly less than the cost of writing it from scratch. The lower the cost of porting relative to the cost to re-write, the more portable it is said to be. The effort depends on several factors including the extent to which the original context differs from the new context, the skill of the programmers, and the portability of the codebase.",
  "body": "In software development, porting is the process of adapting software to run in a different context. Often it involves modifying source code so that a program can run on a different platform (i.e. on a different CPU or operating system) or in a different environment (i.e. with a different library or framework). It also describes adapting a change or feature from one codebase to another even between different versions of the same software. Software is classified as portable if it can be hosted in a different context with no change to the source code. It might be considered portable if the cost of adapting it to a context is significantly less than the cost of writing it from scratch. The lower the cost of porting relative to the cost to re-write, the more portable it is said to be. The effort depends on several factors including the extent to which the original context differs from the new context, the skill of the programmers, and the portability of the codebase. == Porting of video games == Porting is also the term used when a video game designed to run on one platform, be it an arcade, video game console, or personal computer, is converted to run on a different platform, perhaps with some minor differences. From the beginning of video games through to the 1990s, \"ports\", at the time often known as \"conversions\", were often not true ports, but rather reworked versions of the games due to the limitations of different systems. For example, the 1982 game The Hobbit, a text adventure augmented with graphic images, has significantly different graphic styles across the range of personal computers that its ports were developed for. Many 21st century video games, however, are developed using software (often in C++) that can output code for one or more consoles as well as for a PC without the need for actual porting (instead relying on the common porting of individual component libraries). Porting arcade games to home systems with inferior hardware was difficult. The ported version of Pac-Man for the Atari 2600 omitted many of the visual features of the original game to compensate for the lack of ROM space, and the hardware struggled when multiple ghosts appeared on the screen, creating a flickering effect. The poor performance of the Atari 2600 Pac-Man is cited by some scholars as a cause of the video game crash of 1983. Many early ports suffered significant gameplay quality issues because computers greatly differed. Richard Garriott stated in 1984 at Origins Game Fair that Origin Systems developed video games for the Apple II first then ported them to Commodore 64 and Atari 8-bit computers, because the latter machines' sprites and other sophisticated features made porting from them to Apple \"far more difficult, perhaps even impossible\". Reviews complained of ports that suffered from \"Apple conversionitis\", retaining the Apple's \"lousy sound and black-white-green-purple graphics\"; after Garriott's statement, when Dan Bunten asked \"Atari and Commodore people in the audience, are you happy with the Apple rewrites?\" the audience shouted \"No!\" Garriott responded, \"[otherwise] the Apple version will never get done. From a publisher's point of view that's not money wise\". Others worked differently. Ozark Softscape, for example, wrote M.U.L.E. for the Atari first because it preferred to develop for the most advanced computers, removing or altering features as necessary during porting. Such a policy was not always feasible; Bunten stated that \"M.U.L.E. can't be done for an Apple\", and that the non-Atari versions of The Seven Cities of Gold were inferior. Compute!'s Gazette wrote in 1986 that when porting from Atari to Commodore the original was usually superior. The latter's games' quality improved when developers began creating new software for it in late 1983. In porting arcade games, the terms \"arcade perfect\" or \"arcade accurate\" were often used to describe how closely the gameplay, graphics, and other assets on the ported version matched the arcade version. Many arcade ports in the early 1980s were far from arcade perfect as home consoles and computers lacked the sophisticated hardware in arcade games, but games could still approximate the gameplay. Notably, Space Invaders on the Atari VCS became the console's killer app despite its differences, while the later Pac-Man port was notorious for its deviations from the arcade version. Arcade-accurate games became more prevalent starting in the 1990s as home consoles caught up to the power of arcade systems. Notably, the Neo Geo system from SNK, which was introduced as a multi-game arcade system, would also be offered as a home console with the same specifications. This allowed arcade perfect games to be played at home. A \"console port\" is a game that was originally or primarily made for a console before a version is created which can be played on a personal computer. The process of porting games from console to PC is often regarded more cynically than other types of port. This perception stems from the fact that some PC ports do not fully utilize the more powerful hardware available on many PCs, even at the time of a console's launch. Because console hardware remains fixed throughout a generation while PC hardware continues to advance, games designed around console limitations may appear under-optimized when released on PC. While broadly similar today, some architectural differences persist, such as the use of unified memory and smaller OSs on consoles. Other objections arise from user interface differences conventional to consoles, such as gamepads, 10-foot user interfaces accompanied by narrow field of view, fixed checkpoints, online restricted to official servers or P2P, poor or no modding support, as well as the generally greater reliance among console developers on internal hard coding and defaults instead of external APIs and configurability, all of which may require expensive deep reaching redesign to avoid a \"lazy\" feeling port to PC. Impossible ports are ports of video games onto hardware significantly weaker than the target release. Examples include ports of PlayStation 4 and Xbox One games, such as Nier: Automata and The Witcher 3: Wild Hunt, to the Nintendo Switch.",
  "categories": [
    "113797885",
    "128820300",
    "20416984",
    "23118434",
    "23603337",
    "44446176",
    "55196807"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1378575560",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1791158852.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001378575560",
    "type": "webpage",
    "title": "Porting",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/porting",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          20
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001378575560",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1378575560",
    "note": "Immutable snapshot enwiki-001378575560"
  }
}