1 min read

Last week, the Fedora team announced that Swift will be available in Fedora 28.   Swift, Apple’s programming language, is built with a modern approach to safety and its addition to Fedora will facilitate Linux’s focus on the security aspect of its kernel.

Why did the team opt for Swift?

Swift’s applications are endless- right from systems programming to desktop applications leading right upto cloud services. This language was always focussed on being fast and safe. There is automatic memory management where arrays and integers are checked for overflow. Swift also supports a built-in mechanism for error handling. It is an efficient server-side programming language which performs fast iterations over collections of code.

Additional features include:

  • Closures with function pointers
  • Tuples and multiple return values
  • Generics
  • Structs supporting methods, extensions, and protocols
  • Functional programming patterns, like map and filter
  • do, guard, defer, and repeat keywords provide an advanced control flow

Swift is available in Fedora under the package name swift-lang.
The flexible capabilities of Fedora coupled with the advantages offered by Swift make it an excellent choice for developers to work on.
To know more about this news, head over to Fedora’s magazine.

Read Next

ABI stability may finally come in Swift 5.0

Swift 4.2 releases with language, library and package manager updates!

Fedora 29 beta brings Modularity, GNOME 3.30 support and other changes


Subscribe to the weekly Packt Hub newsletter. We'll send you the results of our AI Now Survey, featuring data and insights from across the tech landscape.

* indicates required