Skip to content

Commit 0f3f6dc

Browse files
committed
Separate out the content on language evolution ahead of Swift 6 from the
next steps.
1 parent 8f8558d commit 0f3f6dc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

_posts/NNNN-NN-NN-swift-5.10-released.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Swift 5.10 enforces full data isolation conservatively, meaning there are some f
1616

1717
Read on to learn about full data isolation in Swift 5.10, new unsafe opt-outs for actor isolation checking, and the remaining concurrency evolution ahead of Swift 6.
1818

19-
## Data-race safety
19+
## Data-race safety in Swift 5.10
2020

2121
### Full data isolation
2222

@@ -90,20 +90,20 @@ func processData(_: MutableData) async { ... }
9090

9191
Note that without correct implementation of a synchronization mechanism to achieve data isolation, dynamic analysis from exclusivity enforcement or tools such as the Thread Sanitizer may still identify failures.
9292

93+
## Language evolution ahead of Swift 6
94+
95+
**The next release of Swift will be Swift 6.** The complete concurrency model in Swift 5.10 is conservative, and several Swift Evolution proposals are in active development to improve the usability of full data isolation by removing false postive data race errors. This work includes [lifting limitations on passing non-`Sendable` values across isolation boundaries](https://github.com/apple/swift-evolution/blob/main/proposals/0414-region-based-isolation.md) when the compiler determines there is no potential for concurrent access, [more effective `Sendable` inference for functions and key-paths](https://github.com/apple/swift-evolution/blob/main/proposals/0418-inferring-sendable-for-methods.md), and more. You can find the set of proposals that will round out Swift 6 at [Swift.org/swift-evolution](https://www.swift.org/swift-evolution/#?version=6.0).
96+
9397
## Next Steps
9498

95-
### Try out complete concurrency ahead of Swift 6
99+
### Try out complete concurrency checking
96100

97-
**The next release of Swift will be Swift 6.** You can help shape the transition to the Swift 6 language mode by [trying out complete concurrency checking](/documentation/concurrency/) in your project and providing feedback on your experience.
101+
You can help shape the transition to the Swift 6 language mode by [trying out complete concurrency checking](/documentation/concurrency/) in your project and providing feedback on your experience.
98102

99103
If you find any remaining soundness holes, including any corner cases where complete concurrency checking does not diagnose a data race at compile time, please [report an issue](https://github.com/apple/swift/issues/new/choose).
100104

101105
You can also provide feedback that helps improve the concurrency documentation, compiler error messages, and the upcoming Swift 6 migration guide. If you encounter a case where the compiler diagnoses a data-race warning that you don't understand or you're not sure how to resolve a given data-race warning, please start a [discussion thread on the Swift forums](https://forums.swift.org/tags/c/swift-users/15/concurrency) using the `concurrency` tag.
102106

103-
The complete concurrency model in Swift 5.10 is conservative. Several Swift Evolution proposals are in active development to improve the usability of full data isolation by removing false postive data race errors. This work includes lifting limitations on passing non-`Sendable` values across isolation boundaries when the compiler determines there is no potential for concurrent access, and more effective `Sendable` inference. You can find the set of proposals that will round out Swift 6 at [Swift.org/swift-evolution](https://www.swift.org/swift-evolution/).
104-
105-
Your feedback on using full data isolation in Swift 5.10 will help shape the Swift 6 migration guide, which will be made available on Swift.org ahead of Swift 6.
106-
107107
### Downloads
108108

109109
Official binaries for Swift 5.10 are [available for download](https://swift.org/download/) from [Swift.org](http://swift.org/) for macOS, Windows, and Linux.

0 commit comments

Comments
 (0)