Swift

From Coder Merlin
Revision as of 10:38, 5 December 2022 by Julian-thomas (talk | contribs) (Added access control under bullet points)
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

What is Swift?[edit]

Swift is a programming language made for development on apple devices. Swift was created by Chris Lattner and started development in 2010. For programming on apple devices, swift is a great alternative to Objective C (Which most programmers hate).

  • Protocol-oriented programming (Basically OOP)
  • Basic value types
  • Access control
   1. open
   2. public
   3. internal
   4. fileprivate
   5. private
  • String support
   1. Being able to concatenate strings similar to python

Performance[edit]

Swift runs significantly faster than Python, PHP, LUA(Nobody uses this), and Ruby but runs much slower than rust and C. This is pretty good for an object-oriented programming language.

Why swift?[edit]

  • Swift is fast
  • Swift can be used on IOS devices
  • Swift is object-oriented
  • Swift is modern
  • Swift is common

External Links[edit]

Speed tests

Apple's webpage

Wiki