Swift is a general-purpose programming language with a modern approach to safety, performance, and software design patterns in mind.