Your Next Swift Target Is a Raspberry Pi

In November 2026, I gave this talk at Main-Kinzig Nerds (MAIN-KINZIG
Talk summary
Full-stack IoT usually means a technology zoo: Swift for iOS, Kotlin for Android, Java on the server, Python or C/C++ on the edge device. For SiincosCharge, an open-source EV charging solution for multi-unit buildings, a team of two couldn’t afford that. So we asked: what if Swift ran everywhere, including on the Raspberry Pi next to the chargers?
One language pays off for a small team: data models shared in a single Swift package, one mental model, and a compiler that catches errors before the customer does. With the Cyber Resilience Act, calibration law (Eichrecht) and ISO 15118-20 constantly reshaping the data model, changing it once beats refactoring it in three languages. And while AI can write any language, the people shipping the product still have to understand and review it.
The key lesson: rule out show-stoppers before writing product code. In a few evenings I verified the Swift toolchain on ARM64, signal handling, running as a systemd service, Modbus RTU over RS485 with modbus-swift, serial access without root, and MQTT with mqtt-nio.
The workflow stays in Xcode: develop and unit-test on the Mac, then a scheme post-action syncs the sources to the Pi, where swift build and swift test run against real hardware. No cross-compiling, no Docker. A fake gpioget script stands in for the GPIOs the Mac lacks.
What makes it a production edge service: clean SIGINT/SIGTERM handling, a hardened systemd unit with its own user and minimal capabilities, a read-only OverlayFS root, nightly reboots and status reports via MQTT.
My conclusion: if you’re a small team that already knows Swift and your edge device runs a full Linux, try it. Just don’t expect every library to exist, Foundation to behave exactly as on macOS, or the Pi to compile fast.
![]() | ![]() |
|---|---|
| My talk compares a typical IoT system architecture… | …to a Swift on edge device architecture. |

