Hello Swift community,
The second review of SE-0371: Isolated synchronous deinit begins now and runs until August 6th, 2024.
This proposal was originally reviewed in 2022, when it was returned for revision. The author has now updated the implementation and proposal in response to the feedback provided by the Language Steering Group:
- Originally, it was proposed that
deinit
s would be isolated by default. In the current proposal, the behavior is opt-in via theisolated deinit
spelling. - Originally, it was proposed that task locals would be copied when needed to maintain their values within the
isolated deinit
. In the current proposal, the behavior of task locals is left as an unspecified implementation details. Clients should not rely on task locals having any particular value in the body of anisolated deinit
.
Reviews are an important part of the Swift evolution process. All review feedback should be either on this forum thread or, if you would like to keep your feedback private, directly to me as the review manager via the forum messaging feature or email. When contacting the review manager directly, please put "SE-0371" in the subject line.
Try it out
Toolchains with the feature enabled are available here:
- macOS: https://store-030.blobstore.apple.com/swift-oss/tmp/pull-request/60057/1374/xcode/swift-PR-60057-1374-osx.tar.gz
- Ubuntu: https://download.swift.org/tmp/pull-request/60057/935/ubuntu2004/PR-ubuntu2004.tar.gz
- Windows: Artifacts of Swift Pull Request Toolchain Windows #5366 : /build/artifacts [Jenkins]
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of Swift. When writing your review, here are some questions you might want to answer in your review:
What is your evaluation of the proposal?
- Is the problem being addressed significant enough to warrant a change to Swift?
- Does this proposal fit well with the feel and direction of Swift?
- If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
- How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
More information about the Swift evolution process is available at swift-evolution/process.md at main ¡ apple/swift-evolution ¡ GitHub .
Thank you,
Freddy Kellison-Linn
Review Manager