Search for a command to run...
General-purpose, compiled programming language designed for performance, safety, and expressiveness. Compiles to native code with predictable memory management, enforces memory safety and data race safety at compile time, and supports object-oriented, functional, and generic programming in a concise, readable syntax.
Swift is developed in the open and runs on iOS, macOS, watchOS, tvOS, Linux, and Windows. It stands out as a language that spans from embedded devices and kernels to apps and cloud infrastructure, a range that no other single language covers. Its interoperability with C and C++ allows incremental adoption: Swift understands C and C++ types natively without foreign function interfaces and offers bi-directional bridging for gradual migration.
Key capabilities:
std::string in Swift codeSwift fits native iOS and macOS app development, server and cloud APIs, command-line tools, and embedded or firmware work. Teams choose it when they want a single language for the full stack, when integrating with existing C or C++ codebases, or when memory and concurrency safety are priorities from the start.