swift-atomics
AsyncObjects
swift-atomics | AsyncObjects | |
---|---|---|
3 | 3 | |
1,028 | 48 | |
1.4% | - | |
7.7 | 3.0 | |
5 months ago | 5 months ago | |
Swift | Swift | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-atomics
- Swift-atomics 1.0.0: source stability
-
From a job interview: how do you make a swift class atomic?
@Atomic property wrappers are an anti-pattern because they rarely do what you actually want. There is an official swift-atomics package, but it's very low-level.
AsyncObjects
-
I created a library that allows different synchronization strategies accross multiple tasks
I thought modern concurrency lacks features for synchronizing accross multiple tasks and actors so I created this library that offers some patterns that are available in GCD like semaphore and some other patterns that are available in other languages. Do checkout the project and documentation. Please let me know what other synchronization mechanisms you are using and would also like to see here.
What are some alternatives?
SwiftQueue - Job Scheduler for IOS with Concurrent run, failure/retry, persistence, repeat, delay and more
async-plus - ⛓ A chainable interface for Swift's async/await.
BrightFutures - Write great asynchronous code in Swift using futures and promises
Shift - Light-weight & concurrent EventKit wrapper
Venice - Coroutines, structured concurrency and CSP for Swift on macOS and Linux.
IORingSwift - A Swift wrapper for io_uring
ParseCareKit - Securely synchronize any CareKit based app to a Parse Server Cloud. Compatible with parse-hipaa.
Queuer - Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).
GithubUsersSample - Code sample for the article about Task ViewModifier. It is new in iOS15. SwiftUI
DynamicCodableKit - Implement dynamic JSON decoding within the constraints of Swift's sound type system by working on top of Swift's Codable implementations.