{"adoption": {"forks": 824, "observed_at": "2026-08-28T04:08:46.549584+00:00", "stars": 4361}, "canonical_url": "https://ross.abutalabs.com/products/libffi", "card": {"archived": false, "artifact_type": "library", "description": "A portable foreign-function interface library.", "domain": ["programming-languages", "developer-tools", "cross-platform"], "enriched": true, "function": ["interpreter", "compiler", "developer-tools"], "health_score": 99, "homepage": "http://sourceware.org/libffi", "language": "C", "license": "NOASSERTION", "license_family": "other", "maturity": "stable", "member_repos": ["libffi/libffi"], "name": "libffi/libffi", "platform": ["windows", "cross-platform", "cpp", "c"], "pushed_at": "2026-08-19T09:13:06+00:00", "repo": "libffi/libffi", "stars": 4361, "tags": ["ffi", "foreign-function-interface", "calling-conventions", "c-library", "runtime", "interop", "linux", "macos"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/libffi", "repo": "libffi/libffi", "role": "main", "score": 94}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:46.549584+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:21:27.078713+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "502b1228b9be817639d78391169b48d8de19402bee83565ac56d967e9dc026b0", "fetched_at": "2026-08-28T04:08:46.549584+00:00", "kind": "readme", "missing": false, "url": "https://github.com/libffi/libffi"}, {"content_hash": "c60413653cc47c2d66ac2f7876c54bc5b8878fc73b6bd811b5d967d77d352954", "fetched_at": "2026-08-29T09:10:00.335710+00:00", "kind": "homepage", "missing": false, "url": "http://sourceware.org/libffi"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 84}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6182, "days_push": 14, "days_rel": 25, "gap_med": 40.5, "n_releases_24m": 9}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}