are non-copyable types in swift going to get improved soon? Currently you can't implement anything else if you implement non-copyable.
Asked on 06/19/2025
1 search
Yes, non-copyable types in Swift are being improved. In Swift 6, there are significant enhancements to non-copyable types, including support for non-copyable types in all generic contexts and in the standard library. This expands the usability of non-copyable types, allowing for more flexible and safe programming patterns. For example, you can now write failable initializers of non-copyable types, and non-copyable generics are being adopted in the standard library. These improvements are aimed at enhancing program correctness and providing fine-grained control over performance, especially in low-level systems with severe resource constraints.
For more details, you can refer to the session What’s new in Swift (17:29) and Consume noncopyable types in Swift (07:05).

What’s new in Swift
Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.

Consume noncopyable types in Swift
Get started with noncopyable types in Swift. Discover what copying means in Swift, when you might want to use a noncopyable type, and how value ownership lets you state your intentions clearly.

Explore Swift performance
Discover how Swift balances abstraction and performance. Learn what elements of performance to consider and how the Swift optimizer affects them. Explore the different features of Swift and how they’re implemented to further understand the tradeoffs available that can impact performance.