Backward compatibility

From Wikipedia, the free encyclopedia
  (Redirected from Backward-compatible)
Jump to: navigation, search

In telecommunications and computing, a product or technology is backward compatible (BC)[1] or downward compatible if it can function properly given input generated by, or meant for, an older product or technology, such as a legacy system.[2] If products designed for the new standard can receive, read, view or play older standards or formats, then the product is said to be backward-compatible; examples of such a standard include data formats and communication protocols. Modifications to a system that do not allow backward compatibility are sometimes called "breaking changes."

The reverse is forward compatibility, which implies that old devices allow (or are expected to allow) data formats generated by new (or future) devices, perhaps without supporting all new features. A standard supports forward compatibility if older product versions can receive, read, view or play the new standard.

For example, the introduction of FM stereo transmission allowed backward compatibility since new FM radio receivers could receive monaural signals generated by old transmitters. It also allowed forward compatibility, since old monaural FM radio receivers could still receive a signal from a new transmitter.

In programming languages, backward compatibility refers to the ability of a compiler for version N of the language to accept programs or data that worked under version N - 1.[3] By this definition, if previous versions (N - 1, N - 2, etc.) were also backward compatible, which is often the case, then, by induction, version N will also accept input that worked under any prior version after, and including, the latest one that was not backward compatible. However, in practice, features are often deprecated and support is dropped in a later release, which is yet thought of as backward compatible.

In other contexts, a product or a technology is said to be backward compatible when it is able to fully take the place of an older product, by inter-operating with products that were designed for the older product.[4][need quotation to verify]

A data format is also said to be backward compatible with its predecessor if every message or file that is valid under the old format is also valid, and retains its meaning, under the new.[5]

Description[edit]

Backward compatibility is a relationship between two components, rather than being an attribute of just one of them. More generally, a new component is said to be backward compatible if it provides all of the functionality of the old component.[citation needed]

Backward compatibility is the special case of compatibility in which the new component has a direct historical ancestral relationship with the old component. If this special relationship does not exist then it not usually spoken of as "backward" compatibility but is instead just "compatible"—a consistent interface allowing interoperability between components and products that were each developed separately.

In the case of a program that creates document files, a new version of that program ("v2") is said to be backward compatible with the old version of the program ("v1") when it can both read and write documents that work with v1. Everything that v1 could do must also be possible with v2, including saving documents that can be read by v1 (which is something that v1 could do).

If a newer software version cannot save files that can be read by the older version, it is not backward compatible with the older version, although it may provide an irreversible upgrade capability for the old files. This situation has often been used strategically by software vendors to force customers to purchase upgrades since, over time, the number of data files usable by an old version diminishes at a rate proportional to the number of other customers that have upgraded (assuming that all customers generate files at the same the average rate).

Levels of compatibility vary. In software, binary compatibility and source compatibility are distinguishable. Binary compatibility means that programs can work correctly with the new version of this library without requiring recompilation. Source compatibility requires recompilation but no changes to the source code.

Many platforms rely on emulation, the simulation of an older platform in software, to achieve backward compatibility.

Many computer programs "know" their own software versioning number, and write that number somewhere in the data files they create. This makes relatively easy for a new program to be backwards compatible with files produced by several previous versions of a program. Even when the new program is unable to completely understand long-deprecated features in files produced by a much earlier version of the program, that new program can use that version number to help the user find some previous version of the program that can completely understand that file.

Bugwards compatible[edit]

If a newer system is attempting to achieve integration with an older system which has known flaws (or "bugs"), then the new system may be referred to as bug-compatible or "bugwards-compatible".[6][7][8]

Examples[edit]

  • The NTSC color broadcast system was engineered by RCA to be backward compatible with black-and-white NTSC television sets.
  • DVB-T MPEG4 television tuners can also decode MPEG2 signal.
  • Most DVD drives are able to play standard CDs, and most Blu-ray players can also play standard DVDs and CDs.
  • Numerous video game consoles are backward compatible and are able to play the games created for predecessor consoles.
  • Microsoft Office products can read and write most files created by previous versions.
  • Several computer operating systems have various methods of running software originally designed for older versions or other OSes:
  • The modern Nikon F-mount SLR camera lenses from the late 1970s - present (its design dates back to 1959) can function on the newer Nikon DSLR cameras with some limitations.
  • Lenses for the Canon EF-mount, introduced with the company's EOS family of film SLRs in 1987 and used to this day on Canon full-frame and APS-H EOS DSLRs, can function fully on the company's APS-C DSLRs that use the Canon EF-S-mount (although their angle of view will be different on the smaller APS-C sensor).
  • PCI Express 2.0 is backward compatible with PCI Express 1.1.
  • Universal Serial Bus (USB) ports support devices intended for earlier versions of USB. For example, USB 3.0 ports support USB 2.0 and USB 1.1 devices.
  • The IBM 7080 transistorized computer was backward compatible with all models of the IBM 705 vacuum tube computer.
  • When Touch Tone dialing was introduced into the telephone system, the network continued to work with the existing rotary telephones, a situation that continues today.
  • Telephones that used Pulse dialing were compatible with parts of the telephone network that did not yet work with tone dialing by mimicking the pulses generated by a rotary phone.

See also[edit]

References[edit]

External links[edit]