{"adoption": {"forks": 128, "observed_at": "2026-08-28T04:05:16.774907+00:00", "stars": 1649}, "canonical_url": "https://ross.abutalabs.com/products/type_safe", "card": {"archived": false, "artifact_type": "library", "description": "Zero overhead utilities for preventing bugs at compile time", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["type-system", "error-handling"], "health_score": 54, "homepage": "https://type_safe.foonathan.net", "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["foonathan/type_safe"], "name": "foonathan/type_safe", "platform": ["cpp", "cross-platform"], "pushed_at": "2025-10-13T19:19:38+00:00", "repo": "foonathan/type_safe", "stars": 1649, "tags": ["type-safety", "zero-overhead", "vocabulary-types", "strong-typedefs", "header-only", "optional", "variant", "algorithms"], "topics": ["c-plus-plus", "type-safety"], "urls": [], "use_cases": ["prevent integer overflow and lossy conversion bugs at compile time", "enforce non-null pointers in C++ APIs", "replace raw bool parameters with expressive flag types", "get a space-efficient optional type with no overhead", "make C++ APIs safer using strong typedefs", "constrain values with validated types"], "what_it_is": "A C++ library providing zero-overhead abstractions that leverage the type system to prevent bugs at compile time. It offers improved wrappers for built-in types, vocabulary types like non-null references, and enhanced optional/variant implementations.", "when_to_avoid": ["you work in a language other than C++", "you need runtime type safety or dynamic validation rather than compile-time guarantees", "your codebase cannot adopt C++11 or newer standards"], "when_to_choose": ["you write modern C++ and want compile-time prevention of common bugs like uninitialized values or lossy conversions", "you need zero runtime overhead in release builds while keeping debug-mode assertions", "you want safer alternatives to std::optional, std::variant, and raw pointers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/type_safe", "repo": "foonathan/type_safe", "role": "main", "score": 44}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "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:05:16.774907+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.774907+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:45:08.966544+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1d63658e8d51ee52a71309862f38d3e03f9d64dd261cfd82213890c4f360859", "fetched_at": "2026-08-28T04:05:16.774907+00:00", "kind": "readme", "missing": false, "url": "https://github.com/foonathan/type_safe"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 46, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3616, "days_push": 324, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 44, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}