apple/swift-system
Low-level system calls and types for Swift observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 97
- Longevity 100
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: 8.5
- age_days: 2169
- days_rel: 20
- days_push: 16
- n_releases_24m: 19
Adoption not part of the score
1415 stars · 150 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Swift System (SystemPackage) is an Apple-maintained Swift library providing idiomatic, type-safe interfaces to low-level system calls and currency types like file paths and file descriptors. It exposes native platform APIs per OS (Darwin, POSIX, Windows) rather than abstracting over them, aiming to make platform-specific code safer and more expressive.
Use cases
- open, read, and write files with type-safe file descriptors in Swift
- manipulate file paths without raw C strings
- build cross-platform Swift libraries like SwiftNIO or SwiftPM on top of system calls
- wrap POSIX system calls with idiomatic Swift error handling
- work with low-level OS interfaces on Darwin, Linux, or Windows
When to choose
- you need safe, idiomatic Swift bindings to file descriptors and file paths
- you are building a systems-level Swift library or tool that touches the OS directly
- you want Apple-maintained, source-stable system interfaces for Darwin and POSIX platforms
When to avoid
- you want a single unified cross-platform API that hides OS differences
- you need high-level file system utilities like directory walking or file copying
- your target platform is Windows and you require source stability
Facets
library · maturity stable
file-system developer-tools developer-tools operating-systems cross-platform windows posix file-descriptor file-path system-calls swiftpm macos linux ios swift
1 source
- readme: https://github.com/apple/swift-system · fetched 2026-08-28 · 9cd08ec7fc51
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apple/swift-system | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="apple/swift-system")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem