Compatibility Layer
Also known as: Translation layer
Software that lets programs built for one operating system run on another by translating their system and library calls, without emulating hardware.
A compatibility layer is software that allows programs written for one operating system or software environment to run on another by translating the requests they make. Instead of imitating a complete machine, as emulation does, it intercepts calls to system libraries and interfaces and maps them to equivalents on the host. Because the program's own instructions run natively on the same type of processor, compatibility layers can achieve performance close to that of the original platform.
The best-known example is Wine, begun in 1993, which implements the Windows application programming interface on Linux and other Unix-like systems. Valve's Proton, released in 2018, builds on Wine and adds components such as DXVK, which translates Direct3D graphics calls to the Vulkan API, so that Windows games run on Linux through Steam. Another example is the original Windows Subsystem for Linux, which translated Linux system calls on Windows. Binary translators, such as Apple's Rosetta 2, instead convert code between processor architectures.
Compatibility layers have reshaped gaming on Linux: Proton is central to the Steam Deck, and community databases record how well individual games run. Limitations remain, including games whose anti-cheat systems block them, missing features and bugs that require ongoing reverse engineering. Compatibility layers also matter for software preservation and for reducing dependence on a single platform, giving users more freedom to choose their operating system without giving up the programs they rely on.
Key points
- Compatibility layers translate system and library calls rather than emulating an entire machine.
- Wine implements the Windows API on Linux and other Unix-like systems.
- Valve's Proton, built on Wine, lets many Windows games run on Linux and the Steam Deck.
- Some games remain incompatible, often because of anti-cheat systems or missing features.
Related entries
Wine
Free and open-source compatibility layer that runs Windows applications on Linux, macOS and BSD by reimplementing the Windows API.
Proton
Compatibility layer from Valve, built on Wine, that lets Windows games run on Linux through the Steam client and powers the Steam Deck.
ProtonDB
Community website that collects crowdsourced reports on how well Windows games from Steam run on Linux and the Steam Deck through Proton.
Steam Deck
Handheld gaming computer from Valve that runs a Linux-based operating system and plays much of the Steam PC game library.
Emulation
Use of software or hardware to imitate another computer system, allowing programs written for one platform, such as an old console, to run on another.
Linux
Free and open-source Unix-like kernel created by Linus Torvalds in 1991 that underpins Android, most servers and many embedded devices.
Anti-Cheat Software
Software and server-side systems that detect or prevent cheating in online games, from memory scanning to behavioral analysis of players.
Virtual Machine
Software implementation of a computer that runs its own operating system or programs in isolation from the physical hardware beneath it.
Featured in guides
Referenced by
Other entries that discuss or point to Compatibility Layer.