Ross ROSS = Recommend OSS · open-source software intelligence for agents

libffi/libffi

A portable foreign-function interface library. observed · 2026-08-28

github.com/libffi/libffi · homepage · C · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

94/100

  • Activity 98
  • Release rhythm 84
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 40.5
  • age_days: 6182
  • days_rel: 25
  • days_push: 14
  • n_releases_24m: 9

Full methodology

Adoption not part of the score

4361 stars · 824 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

libffi is a portable C library providing a high-level interface to various calling conventions, allowing code to call compiled functions whose signatures are only known at runtime. It is the machine-dependent foundation layer used by projects like CPython's ctypes and OpenJDK to bridge interpreted and native code.

Use cases

  • call native C functions at runtime with dynamically determined signatures
  • build a bridge between an interpreter and compiled code
  • implement ctypes-style foreign function interface bindings
  • invoke functions with unknown argument types in a scripting language runtime
  • port a language runtime to multiple CPU architectures and ABIs

When to choose

  • you need runtime function calls into native code without compile-time signatures
  • you are building an interpreter, VM, or FFI binding layer
  • you need broad architecture and OS portability for calling conventions

When to avoid

  • you can bind functions statically at compile time
  • you need high-level type marshalling between languages (libffi only provides the low layer)
  • you need a pure-language solution without native dependencies

Facets

library · maturity stable

interpreter compiler developer-tools programming-languages developer-tools cross-platform windows cross-platform cpp c ffi foreign-function-interface calling-conventions c-library runtime interop linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
libffi/libffimain94

For agents

markdown · JSON · MCP: product_card(name="libffi/libffi")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem