Announcing Swift Homomorphic Encryption
Apple has announced swift-homomorphic-encryption, a new open-source Swift package that brings Homomorphic Encryption (HE) to Swift.
Apple has announced swift-homomorphic-encryption, a new open-source Swift package that brings Homomorphic Encryption (HE) to Swift.
Swift 6 introduces compile-time data race safety checks for code opting into the Swift 6 language mode, significantly reducing crashes and performance issues, but full benefits require ecosystem-wide adoption.
The Swift programming language is migrating to a dedicated GitHub organisation at GitHub.com/swiftlang, reflecting its growing versatility and community maturity beyond Apple’s ecosystems.
Every year, WWDC showcases Apple’s commitment to user privacy, and 2024 is no exception. I watched four sessions totalling about 1 hour and 20 minutes, and I’m excited to share the highlights of Apple’s privacy advancements.
Since FluentKit 1.48.0, users have encountered a warning about mutable stored properties in Sendable
-conforming Model
classes due to Swift’s concurrency requirements and property wrapper limitations.
Apple has introduced a repository, swift-embedded-examples, showcasing Embedded Swift, a new experimental compilation mode for Swift targeting constrained microcontrollers like ARM and RISC-V, suitable for IoT and electronics projects.
The Swift Server Workgroup (SSWG) 2024 annual update highlights 2023 achievements and sets goals for the coming year.
Adwaita for Swift is a new open-source package that enables Swift developers to create GNOME applications for Linux, leveraging Swift’s clean syntax, static typing, and result builders for a declarative, readable, and memory-safe user interface design.
The Swift Benchmark package, a new open-source tool developed due to the lack of suitable multi-platform benchmarking solutions, integrates performance testing into Swift’s ecosystem, emphasising the importance of speed alongside functionality in software development.
Swift is a versatile language for embedded systems due to its memory safety and ergonomics, as shown by porting games to the Playdate handheld console using the new embedded language mode.
Swift 6.0 introduces pack iteration, enhancing parameter packs from Swift 5.9 to simplify working with variable-length generic arguments.
Swift 5.10 achieves full data isolation in its concurrency model, enforcing compile-time checks to prevent data races when using the -strict-concurrency=complete flag, building on features like async/await and actors from Swift 5.5 and Sendable from Swift 5.7.
The Swift Server Workgroup announced that Swift 5.10 will be the final release before Swift 6, prompting Vapor to plan Vapor 5, with JWTKit v5 as the first package to adopt modern Swift features like full Sendable compliance and Swift 6’s strict concurrency mode.
I started developing a new app, and it's been an exciting journey so far. Recently, I've begun utilising SwiftData, which is proving to be a fantastic tool for managing data within the app.
MLX Swift is a new open-source package from Apple that brings the MLX array framework for machine learning on Apple silicon to Swift. It gives researchers a Swift API to build and run models on Apple hardware.
Polyglot programmers exist, but good ones are like unicorns. They’re nearly impossible to find and when you do find them they’re insanely high in demand and very expensive.
We are likely looking at over 50 million active lines of code to open a garage door…
The Swift OpenAPI Generator has reached its stable 1.0 release, enabling type-safe code generation for HTTP client and server operations from OpenAPI 3.0 and 3.1 documents.
Apple has outlined changes to iOS, Safari, and the App Store to meet the European Union's Digital Markets Act (DMA) requirements. These changes affect developers distributing apps in the 27 EU member countries, introducing new options while maintaining security and privacy.
Continuing my exploration of HTMLKit, I find its potential quite promising. In this post, I delve deeper into leveraging its capabilities to seamlessly integrate HTML into Swift.
Continuing my exploration of HTMLKit, I find its potential quite promising. In this post, I delve deeper into leveraging its capabilities to seamlessly integrate HTML into Swift.
We've just released Vapor 4.90.0 which contains a fix for a security vulnerability in Vapor's URI parsing.
Swift 5.9 enhances debugging with an out-of-process crash handler that provides detailed backtraces, interactive inspection, and just-in-time debugging, improving on the limited crash messages of prior versions.
Swift.org now has a new top-level Packages page. This page helps users explore the Swift package ecosystem. It lists common categories such as server, networking, testing, and logging.
Swift’s design emphasises seamless interoperability with other languages, particularly C and C++, by embedding clang to avoid the performance and boilerplate costs of traditional C-based Foreign Function Interfaces (FFI) like libffi.