Hello Swift community,
The second review of SE-0327 "On Actors and Initialization" begins now and runs through December 22, 2021.
This proposal has undergone a number of revisions in response to feedback from the first review, which the author has summarized as:
- Actor initializers that are not isolated to the actor will now allow you to do anything you normally can from a
nonisolatedmethod. In exchange, Swift will automatically reject accesses to stored properties that might be unsafe. Here is the problem description and proposed solution .
- Deinitializers of an actor can no longer access non-sendable stored properties of the instance. Here is the problem description and proposed solution
- The default value of a type's stored property is evaluated in a non-isolated context. Here is the problem description and proposed solution
conveniencekeyword is no longer required to define a delegating initializer of an actor. Here is the problem description and proposed rules for their delegating initializers, which is continued in the Sendability section.
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 the review manager. When emailing the review manager directly, please keep the proposal link at the top of the message.
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