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).