Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict concurrency checks #123

Open
Gerzer opened this issue Nov 19, 2022 · 0 comments
Open

Strict concurrency checks #123

Gerzer opened this issue Nov 19, 2022 · 0 comments

Comments

@Gerzer
Copy link
Collaborator

Gerzer commented Nov 19, 2022

Swift 5.7 has an option for “strict concurrency checking”. When it’s enabled, the compiler tries to prove that low-level data races are impossible. If that can’t be proven (or if the checks are locally bypassed in the source code), then compilation fails. Swift 6 will make some of these checks mandatory.

We should ensure that our code passes strict concurrency checks. This will be difficult, not least because many system frameworks haven’t yet been updated to support proper actor isolation.

@Gerzer Gerzer linked a pull request Nov 22, 2022 that will close this issue
@Gerzer Gerzer removed a link to a pull request Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant