libffi
« Back to VersTracker
Description:
Portable Foreign Function Interface library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c ffi library interoperability bindings
Install: brew install libffi
About:
Libffi is a library that provides a portable, high-level programming interface to foreign function call functionality. It allows code to call functions defined in other languages with varying calling conventions and data types. This makes it an essential foundation for language bindings, interpreters, and cross-language interoperability.
Key Features:
  • Portable and platform-independent FFI
  • Supports multiple calling conventions
  • Minimal runtime overhead
  • Used by major projects like Python and Java
Use Cases:
  • Creating language bindings for C libraries
  • Implementing interpreters with dynamic function calling
  • Cross-language interoperability in applications
Alternatives:
  • dyncall – Alternative FFI library, but less widely adopted in major ecosystems
  • libffi – Self-reference - this is the canonical implementation
Version History
Detected Version Rev Change Commit
Sep 10, 2025 8:55am 0 VERSION_BUMP 30adc91f