About this project

Swift is a high-performance system programming language featuring clean and modern syntax. It provides seamless access to existing C and Objective-C code and frameworks while being memory-safe by default. Although inspired by Objective-C and many other languages, Swift is not itself a C-derived language. As a complete and independent language, Swift includes core features like flow control, data structures, and functions, along with high-level constructs such as objects, protocols, closures, and generics. The language embraces modules, eliminating the need for headers and the code duplication they entail. The repository serves as the main home for the Swift Programming Language, maintained by Apple. It includes the compiler source code, standard library, and related tools. Contributions are welcomed through pull requests following the project's contributing guidelines. Key capabilities: - High-performance system programming - Memory-safe by default - Interoperability with C and Objective-C - Modern syntax with powerful abstractions - Modules instead of headers - Protocols, generics, and closures - Active open-source community To learn more about using the language, visit swift.org/documentation. For compiler internals, see the documentation index.