Shim (computing)
shimshimsshimmingAPI shimapplication compatibility updates
In computer programming, a shim is a library that transparently intercepts API calls and changes the arguments passed, handles the operation itself or redirects the operation elsewhere.wikipedia
58 Related Articles
Polyfill (programming)
polyfillPolyfills
Formally, "a polyfill is a shim for a browser API".
Compatibility layer
application compatibilitycompatibility layerscompatibility-layer
Shims for older APIs typically come about when the behavior of an API changes, thereby causing compatibility issues for older applications which still rely on the older functionality; in such cases, the older API can still be supported by a thin compatibility layer on top of the newer code.
Wrapper library
wrapperwrapperswrapper libraries
Wrapper libraries (or library wrappers) consist of a thin layer of code (a "shim") which translates a library's existing interface into a compatible interface.
Method stub
stubstubsStub (computer science)
In the context of DOS and Windows, the term stub is also used in a fashion like shim to describe the small areas of interface code left in conventional memory by self-relocating resident drivers which move most of themselves into upper memory, the high memory area, expanded or extended memory as well as similar stubs to allow the relocated code to communicate with real-mode DOS in conjunction with DOS extenders (like DPMI, DPMS, CLOAKING or NIOS).
Windows on Windows
emulation layerthis featureWin16
They are called thunking and shimming.
Adapter pattern
wrapperadapterWrapper pattern





Application virtualization
virtualizationcontainerscontrolled testing
Thunk
thunkingthunksThunk (compatibility mapping)
Computer programming
programmingcodingprogrammable
In computer programming, a shim is a library that transparently intercepts API calls and changes the arguments passed, handles the operation itself or redirects the operation elsewhere.





Application programming interface
APIAPIsapplication programming interfaces
In computer programming, a shim is a library that transparently intercepts API calls and changes the arguments passed, handles the operation itself or redirects the operation elsewhere.
Library (computing)
librarylibrariessoftware library
In computer programming, a shim is a library that transparently intercepts API calls and changes the arguments passed, handles the operation itself or redirects the operation elsewhere.
Web standards
web standardOpen Webstandards
JavaScript
Server-side JavaScriptclient-side JavaScriptJS
AppleTalk
AppleNetEtherTalkName Binding Protocol


Backward compatibility
backward compatiblebackward-compatiblebackwards compatible

Principle of least privilege
least privilegeleast user accessprinciple of least authority
Linux
GNU/LinuxLinux on the desktopLin









Driver wrapper
wrapperdevice drivers