Wrapper library
Software library for programming / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Wrapper library?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
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. This is done for several reasons:
- To refine a poorly designed or complicated interface
- Allow code to work together which otherwise cannot (e.g. incompatible data formats)
- Enable cross language and/or runtime interoperability
Wrapper libraries can be implemented using the adapter, façade, and to a lesser extent, proxy design patterns.