World Library  
Flag as Inappropriate
Email this Article

Compatibility layer

Article Id: WHEBN0000540289
Reproduction Date:

Title: Compatibility layer  
Author: World Heritage Encyclopedia
Language: English
Subject: CrossOver (software), Lxrun, PlayOnLinux, Cygwin, Wine (software)
Collection: Compatibility Layers
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Compatibility layer

In software engineering, a compatibility layer is an interface that allows binaries for a legacy or foreign system to run on a host system. This translates system calls for the foreign system into native system calls for the host system. With some libraries for the foreign system, this will often be sufficient to run foreign binaries on the host system. A hardware compatibility layer consists of tools that allow hardware emulation.

Contents

  • Software 1
  • Hardware 2
  • See also 3
  • References 4
  • External links 5

Software

Examples include:

  • Wine, which runs some Microsoft Windows binaries on Unix-like systems using a program loader and the Windows API implemented in DLLs
  • Windows's application compatibility layers (Application Compatibility Toolkit) to attempt to run poorly written applications, or those written for earlier versions of the platform.[1]
  • Lina, which runs some Linux binaries with native look and feel on Windows, Mac OS X and Unix-like systems.
  • KernelEx, which runs some Windows 2000/XP programs on Windows 98/Me.
  • Executor, which runs 68k-based "classic" Mac OS programs in Windows, Mac OS X, and Linux.
  • Columbia Cycada, which runs Apple iOS applications on Android systems
  • Hybris, library that translates Bionic into glibc calls.
  • Darling, a translation layer that attempts to run Mac OS X and Darwin binaries onto Linux.
  • Compatibility layer in kernel
    • FreeBSD's Linux Compatibility Layer, which enables binaries built specifically for Linux to run on FreeBSD[2] with the same way as the native FreeBSD API layer.[3] FreeBSD also has some Unix-like system emulations includes NDIS, NetBSD, PECoff, SVR4 and different CPU version of FreeBSD.[4]
    • NetBSD has some Unix-like system emulations.[5]
    • Mach and Darwin binary compatibility for NetBSD/powerpc and NetBSD/i386.
    • The PEACE Project(aka COMPAT_PECOFF) has Win32 compatible layer for NetBSD. The project is now inactive.

A compatibility layer avoids both the complexity and the speed penalty of full hardware emulation. Some programs may even run faster than the original, e.g. some Linux applications running on FreeBSD's Linux compatibility layer may or may not perform better than the same applications on Red Hat Linux, and benchmarks are occasionally run on Wine to compare it to Windows NT-based operating systems.[6]

Even on similar systems, the details of implementing a compatibility layer can be quite intricate and troublesome; a good example is the IRIX binary compatibility layer in the MIPS architecture version of NetBSD.[7]

A compatibility layer requires the host system's CPU to be (upwardly) compatible to that of the foreign system. Thus, for example, a Microsoft Windows compatibility layer is not possible on PowerPC hardware, since Windows requires an x86 CPU; in that case, full emulation is needed.

Hardware

Hardware compatibility layers involve tools that allow hardware emulation. Some hardware compatibility layers involve breakout boxes, since breakout boxes can provide compatibility for certain computer buses that are otherwise incompatible with the machine.

See also

References

  1. ^ Charlie Russel, Microsoft MVP for Windows Server and Tablet PC (2002-02-18). "Application Compatibility in Windows XP". 
  2. ^ "Linux emulation in FreeBSD". 
  3. ^ "Emulation". freebsd.org. Retrieved 2014-03-16. 
  4. ^ "A look inside...". freebsd.org. Retrieved 2014-03-16. 
  5. ^ "NetBSD Binary Emulation". netbsd.org. Retrieved 2014-03-16. 
  6. ^ BenchMark-0.9.5 - The Official Wine Wiki
  7. ^ Emmanuel Dreyfus (August 8, 2002). "IRIX Binary Compatibility, Part 1". onlamp.com. Retrieved 2014-03-16. 

External links

  • Windows XP Application Compatibility Technologies (Dave Morehouse and Todd Phillips, Microsoft Corporation, 1 June 2001)
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.