Compatibility layer explained

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.

Software

Examples include:

Compatibility layer in kernel:

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 perform better than the same applications on Red Hat Linux. Benchmarks are occasionally run on Wine to compare it to Windows NT-based operating systems.[23]

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.[24]

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

Hardware

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

See also

External links

Notes and References

  1. Web site: Application Compatibility in Windows XP. Charlie Russel, Microsoft MVP for Windows Server and Tablet PC. 2002-02-18.
  2. Web site: Cygwin. www.cygwin.com. 2019-11-23.
  3. Web site: Project: 2ine | Patreon.
  4. Web site: Tizen OS will run Android apps -- with a little help from third-party software (Video) .
  5. Web site: OpenMobile ACL for webOS resurrected on Kickstarter, hopes to bring Android apps to HP Touchpad .
  6. Web site: OpenMobile demos ACL for MeeGo, promises 100 percent compatibility with Android apps (Video) .
  7. Web site: Myriad 'Alien Dalvik' runs Android apps on any phone... Starting with MeeGo (Video) .
  8. Web site: Myriad Alien Dalvik hands-on (Video) .
  9. Web site: Running Android Apps on the iPad with Myriad's Alien Dalvik . .
  10. Web site: Hands-on with Myriad's Alien Dalvik 2.0 on an iPad (Video) .
  11. Web site: Android apps to run on iPad with Alien Dalvik 2.0 .
  12. Web site: TouchHLE: High-level emulator for iPhone OS apps . .
  13. Web site: High-level iOS emulator touchHLE runs on Windows and Mac, aims to preserve old iOS gaming apps .
  14. Web site: Developer ports iOS emulator to Android, but you shouldn't get excited about it . 24 April 2023 .
  15. Web site: IOS emulator for Windows . 20.500.11956/108316 . 27 June 2019 . Joneš . Jan .
  16. Web site: Aah . .
  17. Web site: BRS-EMU: BrightScript Emulator . .
  18. Web site: Linux emulation in FreeBSD.
  19. Web site: Emulation. freebsd.org. 2014-03-16.
  20. Web site: A look inside.... freebsd.org. 2014-03-16.
  21. Web site: NetBSD Binary Emulation. netbsd.org. 2014-03-16.
  22. Web site: Comparing WSL 1 and WSL 2. 20 March 2023 .
  23. http://wiki.winehq.org/BenchMark-0.9.5 BenchMark-0.9.5
  24. Web site: IRIX Binary Compatibility, Part 1. August 8, 2002. Emmanuel Dreyfus. onlamp.com. 2014-03-16 . 2017-10-21. https://web.archive.org/web/20171021211722/http://www.onlamp.com/pub/a/bsd/2002/08/08/irix.html. dead.