Here are some examples of native libraries for popular programming languages. This list is not exhaustive, and there may be other native libraries available for each language depending on the specific needs of a project.
|Programming Language||Native Libraries|
|C||GNU C Library (glibc), musl, uClibc, dietlibc|
|C/C++||Boost, STL, Qt, wxWidgets, MFC, ATL, DirectX|
|Java||JNI, JNA, JNR, JavaCPP|
|Python||ctypes, PyO3, CFFI|
|Ruby||RubyInline, Ruby-FFI, Fiddle|
|Go||SWIG, c-for-go, gccgo|
|Swift||C APIs*, Swift Package Manager (SPM)|
|Rust||Rust Bindgen, libc, CTypes bindings|
* The Swift API Design Guidelines recommend avoiding exposing C APIs to Swift, but it is still possible to use Swift to call C APIs
Note that this list is not exhaustive and there may be other native libraries available for these languages as well.