{"adoption": {"forks": 346, "observed_at": "2026-08-28T04:06:17.070075+00:00", "stars": 2129}, "canonical_url": "https://ross.abutalabs.com/products/ffi", "card": {"archived": false, "artifact_type": "library", "description": "Ruby FFI", "domain": ["developer-tools", "programming-languages", "cross-platform"], "enriched": true, "function": ["sdk", "developer-tools"], "health_score": 75, "homepage": "https://github.com/ffi/ffi/wiki", "language": "Ruby", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["ffi/ffi"], "name": "ffi/ffi", "platform": ["ruby", "windows", "cross-platform"], "pushed_at": "2026-07-09T18:56:24+00:00", "repo": "ffi/ffi", "stars": 2129, "tags": ["ffi", "foreign-function-interface", "native-libraries", "libffi", "ruby-gem", "c-bindings", "jruby", "truffleruby", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["call C library functions from Ruby", "load a shared native library and bind its functions", "write Ruby extensions without C code", "pass structs and callbacks between Ruby and C", "use the Windows API from Ruby", "wrap a native C library for a Ruby gem"], "what_it_is": "Ruby-FFI is a Ruby gem for programmatically loading dynamically-linked native libraries, binding their functions, and calling them from Ruby code. It provides an intuitive DSL supporting C types, structs, enums, callbacks, and works unchanged across CRuby, JRuby, Rubinius, and TruffleRuby.", "when_to_avoid": ["you need maximum performance from a hand-tuned native extension", "you only target MRI and prefer native C extensions with direct Ruby API access", "you need to bind C++ classes rather than C functions"], "when_to_choose": ["you need to call native C libraries from Ruby without writing C extension code", "you want one extension codebase that works on MRI, JRuby, and TruffleRuby", "you need callbacks, structs, enums, or pointers interop with C", "you want automatic garbage collection of native memory"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ffi", "repo": "ffi/ffi", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "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:06:17.070075+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:17.070075+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:52:24.742457+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8cc16fef991f1ed50c9eb43df432c40968d66d849089664db70b2e777ac36fc7", "fetched_at": "2026-08-28T04:06:17.070075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ffi/ffi"}, {"content_hash": "de756339d51002910c3ff167e8b07a74fbd063df0f8d732d294d731453d920dc", "fetched_at": "2026-08-29T10:32:14.674576+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/ffi/ffi/wiki"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6237, "days_push": 55, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}