Native libraries for Popular Programming Languages

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 LanguageNative Libraries
CGNU C Library (glibc), musl, uClibc, dietlibc
C/C++Boost, STL, Qt, wxWidgets, MFC, ATL, DirectX
JavaJNI, JNA, JNR, JavaCPP
Pythonctypes, PyO3, CFFI
C#C++/CLI, InteropServices
RubyRubyInline, Ruby-FFI, Fiddle
PHPFFI, CDS
JavaScriptN-API, C/C++ Addons, nan
GoSWIG, c-for-go, gccgo
SwiftC APIs*, Swift Package Manager (SPM)
RustRust 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.