An Overview of the Swift Programming Language
Swift is a general-purpose programming language created by Apple. Swift programs are compiled into native machine code using LLVM.
Swift's design is mainly based on Objective-C, and it borrows a lot of features from Objective-C. Swift programs are largely interoperable with programs written in C/C++ and Objective-C. Swift is also influenced by programming languages like C#, Rust, Haskell, and Python.
Swift is not incorporated into Apple operating systems.
Swift Main Features
- Swift is a statically and strongly typed language.
- Swift supports generics (parametric types).
- Swift supports protocol-oriented programming.
- Swift supports actor-based concurrent programming.
- Swift supports both pass-by-reference and pass-by-value semantics.
- Swift supports garbage collection based on automatic reference counting.
Hello World in Swift
print("Hello World!")
More on Hello World in Swift
If you are interested in finding out more about the Swift programming language, then here's an explanation of the Hello World program in Swift in a little more detail:
- Hello World (Swift): Swift Hello World - A quick explanation
C C++ C# Clojure Crystal D Dart Erlang F# Go Haskell Java Javascript Julia Kotlin Lua Python Rust Scala Typescript