<commit_before># Concurrency in Top-level Code

* Proposal: [SE-0343](0343-top-level-concurrency.md)
* Authors: [<NAME>](https://github.com/etcwilde)
* Review Manager: [<NAME>](https://github.com/compnerd)
* Status: **Accepted (2022-03-13)**
* Implementation: [Fix top-level global-actor isolation crash](https://github.com/apple/swift/pull/40963), [Add `@MainActor @preconcurrency` to top-level variables](https://github.com/apple/swift/pull/40998), [Concurrent top-level inference](https://github.com/apple/swift/pull/41061)

## Introduction

Bringing concurrency to top-level code is an expected continuation of the
concurrency work in Swift. This pitch looks to iron out the details of how<commit_msg>Mark SE-0343 as implemented (#1657)<commit_after># Concurrency in Top-level Code

* Proposal: [SE-0343](0343-top-level-concurrency.md)
* Authors: [<NAME>](https://github.com/etcwilde)
* Review Manager: [<NAME>](https://github.com/compnerd)
* Status: **Implemented (Swift 5.7)**
* Implementation: [Fix top-level global-actor isolation crash](https://github.com/apple/swift/pull/40963), [Add `@MainActor @preconcurrency` to top-level variables](https://github.com/apple/swift/pull/40998), [Concurrent top-level inference](https://github.com/apple/swift/pull/41061)

## Introduction

Bringing concurrency to top-level code is an expected continuation of the
concurrency work in Swift. This pitch looks to iron out the details of how
{'fraction_non_alphanumeric': 0.14714086471408647, 'fraction_numerical': 0.044630404463040445, 'mean_word_length': 5.5227272727272725, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7306477', 'n_tokens_mistral': 496, 'n_tokens_neox': 437, 'n_words': 116}