swiftlang/swift

The Swift Programming Language

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 23 minutes ago
Added to GitGenius on July 12th, 2024
Created on October 23rd, 2015
Open Issues & Pull Requests: 9,232 (+2)
Number of forks: 10,801
Total Stargazers: 70,280 (+0)
Total Subscribers: 2,390 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.7 days
Mean response time: 522.7 days
90th percentile: 2456.6 days
Tracked items: 3,857

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 86% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "triage needed" is answered fastest, typically in about 30 hours, while "diagnostics quality" waits about 18 months. 64% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 3% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 7,657
New in 7 days: 27
Closed in 7 days: 7
Avg open age: 1,780 days
Stale 30+ days: 7,463
Stale 90+ days: 7,257

Recent activity

Opened in 7 days: 24
Closed in 7 days: 6
Comments in 7 days: 30
Events in 7 days: 197

Top labels

  • bug (14,073)
  • compiler (9,743)
  • crash (3,216)
  • type checker (2,435)
  • triage needed (1,938)
  • standard library (1,295)
  • diagnostics quality (1,203)
  • improvement (1,094)

Detailed Description

The Swift Programming Language repository is the official source code for Swift, a high-performance system programming language developed by Apple. The repository serves as the central hub for the Swift compiler, standard library, runtime environment, and language features. Swift is designed with a clean and modern syntax that emphasizes memory safety by default while providing seamless interoperability with existing C and Objective-C code and frameworks.

Swift distinguishes itself as a complete and independent language rather than a C-derived one. It encompasses core programming constructs including flow control, data structures, and functions alongside higher-level features such as objects, protocols, closures, and generics. The language adopts a module-based system that eliminates the need for header files and associated code duplication. The repository's documentation index provides detailed information about the compiler's internal design, making it accessible to developers interested in understanding how Swift processes and executes code.

The repository demonstrates substantial community engagement and maintenance activity.

The repository maintains overlapping contributor relationships with several major open-source projects including microsoft/vscode, rust-lang/rust, and microsoft/typescript, suggesting cross-pollination of ideas and practices among language and tooling communities. This interconnection reflects Swift's position within the broader ecosystem of modern programming language development.

Contributing to Swift is actively encouraged through comprehensive documentation. The repository provides multiple entry points for contributors, including guides for submitting first pull requests, building the compiler, and constructing Swift toolchains. The build-toolchain script enables developers to reproduce official builds locally and supports options such as dry-run builds, testing, distributed compilation via distcc, and caching through sccache. Installation instructions detail how to integrate custom toolchains into Xcode on macOS, facilitating local development and testing workflows.

The project maintains a strong commitment to community standards through adoption of the Contributor Covenant code of conduct, emphasizing the value of diverse perspectives and inclusive participation. The repository includes troubleshooting documentation for common build issues and guidance on managing Xcode version compatibility, reflecting practical attention to developer experience. Swift.org serves as the primary resource for language documentation and learning materials, while the repository itself focuses on compiler internals and contribution workflows.