Swift Toolchain Manager

I recently ordered a Raspberry Pi 5 with 16GB of RAM to develop my universal remote control on the target platform. Developing directly on the Raspberry Pi has the advantage that I can debug on it while accessing some hardware attached to GPIO pins.

I chose an architecture where different services that run on the Raspberry Pi are communicating asynchronously using MQTT. I have two services that I develop using Swift, and another one I develop using Python.

Swift is also available for Linux and for the Raspberry Pi. After some research, I found the Swiftly toolchain manager. Using this small utility, it is possible to manage several Swift versions and switch between them. It doesn't support Raspberry Pi OS directly but Ubuntu. Since Ubuntu 22.04 and Raspberry Pi OS are both based on Debian Bookworm, I was able to install it. Everything is running smoothly, and with some VSCode extensions, I can also debug the Swift code.

#swift #swiftlang #swiftly #swiftlytoolchainmanager #linux #raspberrypi #raspberrypios