Swift in April 2026: New Valkey Client, Embedded Swift Talks, and More
Welcome to the April 2026 edition of our Swift community roundup. This month brings a major new library for server-side Swift, exciting Embedded Swift content from a global conference, and plenty of learning materials to deepen your Swift skills. Read on to get the full story, with detailed answers to your burning questions.
What is valkey-swift and who created it?
valkey-swift is a production-grade Swift client for Valkey, a high-performance open source datastore forked from Redis. The library was built from scratch for Swift 6 by Adam Fowler, an active open source developer in the Swift-on-server ecosystem. The 1.0 release was announced on the Valkey blog, and the project is hosted on GitHub. It serves as a client for both Valkey and Redis servers, covering every standard Valkey command. The commands are auto-generated from Valkey’s own specifications, ensuring the library stays in sync as the server evolves. Developers using Swift Package Manager can add valkey-swift to their projects and start using it immediately.
Why was valkey-swift created instead of updating RediStack?
The existing de facto client, RediStack, was built before Swift’s concurrency features. Retrofitting structured concurrency would have been awkward and would have prevented key design goals for valkey-swift. Around the same time, Redis changed its licensing, leading to the open source fork Valkey. These converging factors made a clean break the right choice. valkey-swift is built from scratch with Swift 6 concurrency in mind, enabling compile-time safety checks and automatic resource cleanup. A migration guide is available for teams currently using RediStack to connect to Redis, easing the transition to the new library.
How does valkey-swift ensure safety and performance?
valkey-swift is built entirely with Swift 6 and structured concurrency. Every Valkey command returns typed responses checked at compile time, eliminating runtime type mismatches. Strict concurrency checking is enabled throughout the library, so data races are caught by the compiler, not in production. Connections and subscriptions are scoped via structured concurrency, meaning resources are automatically cleaned up when the scope ends. This design makes the library both safe and performant, suitable for high-throughput server applications. The codebase also benefits from the Swift 6 memory model, ensuring predictable behavior under concurrent access.
What Embedded Swift resources came from try! Swift Tokyo 2026?
The try! Swift Tokyo 2026 conference featured two talks on Embedded Swift. The first, “Getting started with Embedded Swift,” is a short, accessible introduction covering how to write Swift code using embedded simulators, with examples running on a Game Boy Advance. The second, “Learn by Building: Bare-Metal Programming with Embedded Swift,” offers a deeper dive. It provides five bare-metal Raspberry Pi Pico examples that viewers can follow along with using the sample code. Both talks are great starting points for developers curious about running Swift on embedded devices without an operating system.
What other Swift learning materials were highlighted?
Two additional resources were featured this month. A live online Q&A on Swift concurrency gives developers the chance to ask questions directly to engineers who designed and use Swift’s concurrency features. Also, Nil Coalescing published a video titled “Advanced Techniques for Working with Optionals in Swift,” which explores lesser-known options for handling optionals. These materials complement the Embedded Swift talks and the new valkey-swift library, offering something for developers at all levels, from beginners to experts exploring advanced concurrency patterns.
How can developers start using valkey-swift?
Adopting valkey-swift is straightforward. Simply add the package via Swift Package Manager and you’re ready to start connecting to a Valkey or Redis server. The library covers every standard Valkey command with compile-time typed responses and automatic resource cleanup. For those migrating from RediStack, a dedicated guide walks through the steps to switch. Complete documentation is available on GitHub, and contributions are welcome. If you’re building server-side Swift applications that need a fast, reliable key-value store, valkey-swift is designed to fit seamlessly into your project with the safety guarantees of structured concurrency.
Related Articles
- Documenting Open Source: A Producer's Guide to Telling the Stories Behind the Code
- 10 Key Insights About Hardware-Assisted Arm VMs on s390
- Git 2.54: Introducing 'git history' for Painless Commit Rewrites
- OpenClaw AI Agent Surges to 250K GitHub Stars, Overtakes React in Record Time; NVIDIA Steps In to Bolster Security
- GitHub Deploys eBPF to Break Circular Dependencies in Critical Deployments
- Preserving Digital Infrastructure: How Chainguard Sustains Abandoned Open Source Projects
- Rust Project Joins Outreachy for 2026: Details and Selected Projects
- GitHub's Reliability Journey: Addressing Rapid Scale and Ensuring Availability