Apple brings low-level atomic operations to Swift language
Apple has published Swift Atomics, an open source package that enables systems programmers to build synchronization constructs, such as concurrent data structures, directly in the Swift language.
The Atomics library, introduced October 1 and available on GitHub, enables direct use of low-level atomic operations in Swift. Atomic operations are enabled on a variety of Swift types including integers and pointer values. APIs for atomics operations are provided that follow design principles for Swift APIs.
from InfoWorld https://ift.tt/34uquB3
No comments: