← All repos

libffi

A portable foreign-function interface library.

Browse cluster: Haskell tooling and libraries
2,084commits
224contributors
9languages

Tech stack & purpose

Libffi is a portable foreign-function interface library that enables programs to call functions at runtime without knowing their arguments and types at compile time. The library provides a machine-dependent layer that bridges interpreters and compiled code by abstracting calling conventions across different architectures and operating systems. Built in C and requiring a C99-compatible compiler, libffi supports an extensive range of platforms including x86, ARM, PowerPC, MIPS, RISC-V, and many others across Linux, Windows, macOS, BSD variants, and specialized systems. The project is maintained by the libffi community and distributed through GitHub, with the latest release being version 3.8.0 from August 2026.

Languages

C
71.7%
Assembly
19.8%
M4
3.5%
Shell
3.2%
Makefile
0.6%
Python
0.5%
Perl
0.4%
C++
0.3%
HTML
0.0%

Contributors (top 30 of 224)