swiftlang/swift-foundation
The Foundation project observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 93
- Longevity 94
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: 0.0
- age_days: 1322
- days_rel: 46
- days_push: 7
- n_releases_24m: 11
Adoption not part of the score
2680 stars · 260 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The Swift Foundation project, providing the core implementation of key Foundation API types such as URL, Data, JSONDecoder, Locale, and Calendar for all Swift platforms. It ships with the Swift toolchain and is not intended for direct use as a package dependency in other projects.
Use cases
- use Foundation types like URL and Data on Linux
- parse and encode JSON in Swift
- handle dates, calendars, and locales portably
- access the file system from Swift
- localize and internationalize a Swift app
When to choose
- you are contributing to or studying the Swift Foundation implementation
- you need Foundation API on non-Apple platforms via the Swift toolchain
When to avoid
- you want to add Foundation as a package dependency in a shipping app - use the toolchain or OS-provided copy instead
- you are on Apple platforms, where the OS-provided Foundation should be used
Facets
library · maturity active
internationalization file-system serialization date-time json developer-tools programming-languages cross-platform windows cross-platform foundation swift-toolchain standard-library apple utility-types swift macos ios linux
1 source
- readme: https://github.com/swiftlang/swift-foundation · fetched 2026-08-28 · 66e45e8d7c3f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftlang/swift-foundation | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="swiftlang/swift-foundation")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem