jrose
September 16, 2024, 5:48am
2
Comparison: the Swift folks have spent a while hammering out what they think the relevant traits/protocols are, though the final form is only just now going to be released in Swift 6.0:
# Low-Level Atomic Operations ⚛︎
* Proposal: [SE-0410](0410-atomics.md)
* Author: [Karoy Lorentey](https://github.com/lorentey), [Alejandro Alonso](https://github.com/Azoy)
* Review Manager: [Joe Groff](https://github.com/jckarter)
* Bug: [SR-9144](https://github.com/apple/swift/issues/51640)
* Implementation: [apple/swift#68857](https://github.com/apple/swift/pull/68857)
* Version: 2023-12-04
* Status: **Implemented (Swift 6.0)**
* Previous Revision: [1](https://github.com/swiftlang/swift-evolution/blob/d35d6566fe2297f4782bdfac4d5253e0ca96b353/proposals/0410-atomics.md)
* Decision Notes: [pitch](https://forums.swift.org/t/atomics/67350), [first review](https://forums.swift.org/t/se-0410-atomics/68007), [first return for revision](https://forums.swift.org/t/returned-for-revision-se-0410-atomics/68522), [second review](https://forums.swift.org/t/second-review-se-0410-atomics/68810), [acceptance](https://forums.swift.org/t/accepted-with-modifications-se-0410-atomics/69244)
## Introduction
This proposal adds a limited set of low-level atomic operations to the Standard Library, including native spellings for C++-style memory orderings. Our goal is to enable intrepid library authors and developers writing system level code to start building synchronization constructs directly in Swift.
Previous Swift-evolution thread: [Low-Level Atomic Operations](https://forums.swift.org/t/low-level-atomic-operations/34683)
New Swift-evolution thread: [Atomics](https://forums.swift.org/t/atomics/67350)
This file has been truncated. show original
12 Likes