The Swift-Lite Story

The Swift-lite story begins in December 2015 with the release of Open Source Swift. At this point Swift was at version 2.2. Very soon people started to look at porting Swift to other platforms and the Swift-Arm community was born. Great work was done by volunteers to get Swift running on the RaspberryPi and other small ARM devices.

Pioneers of the Swift-Arm Community.

The next step in "Swift on RaspberryPi" was to update to Swift 3.0 and make it as simple and easy to use as a python script.

Aims of Swift-Lite.

A Unified Swift install thats runs on all RaspberryPi models.
Swift apps created must run on all RaspberryPi models without modification.
The Swift install must be as small as possible.
A easy way to re-use swift modules in multiple projects.
A simple and quick command to build a project
The ability to build and run a project while offline
// A simple build command 
// swift-lite-build + the main project file

$ swift-lite-build hello_world.swift
Swift-Lite has 3 main components.
  • A super lean version of Swift built for the Raspberry Pi

  • A built in pre-processor to create custom swift build commands.

  • Swift Project and Swift Module files with custom meta-tags.

A Swift Module is simply a .swift file that can be re-used in many projects.

For an detailed look at how to use Swift-Lite please go to www.swift-lite.org

In 2016 Swift-Lite was launched and since then hundreds of RaspberryPi owners have downloaded and installed Swift-Lite.

A great series of Swift tutorials is now available at Hackster.io

If you want to contribute or just keep up to date with "Swift on Arm devices", please join the "swift-arm" slack team