#swiftconcurrency β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #swiftconcurrency, aggregated by home.social.
-
π€¦ββοΈ "Finally understand Swift concurrency" - because reading endless jargon-filled screeds is exactly how everyone wants to spend their afternoons. π Huge thanks to Matt for translating developer hieroglyphics into slightly less intimidating developer hieroglyphics! π
https://fuckingapproachableswiftconcurrency.com/en/ #SwiftConcurrency #Understanding #DeveloperJargon #TechTranslation #CodingHumor #DeveloperCommunity #HackerNews #ngated -
What do robot toddlers and coloring pages teach us about data races? First in a series building concrete mental models for Swift Concurrency. Feedback welcome!
https://krishna.github.io/posts/understanding-data-races-visual-guide/
-
How do you bridge the gap between legacy Apple APIs and Swift 6's strict concurrency model?
πππππ΄ππ‘ππ.ππ π π’πππΌπ ππππ‘ππ provides a MainActor context within synchronous methods, solving compatibility issues with APIs like πππππ₯π‘π΄π‘π‘ππβππππ‘ππππ€ππππ£ππππ and ππΌπ»ππ π‘ππππΆπππ‘ππππππ. This is essential knowledge for Swift 6 migration!
π: https://fatbobman.com/en/posts/mainactor-assumeisolated/ by @fatbobman
-
If folks are looking for using Swift Testing with Vapor, you'll encounter all sort of issues.
Here is something that might help you getting out of troubles:
https://github.com/vapor/vapor/issues/3236#issuecomment-2365300507It's using Lock from @mattiem ; of course. Who would imagine solving a swift concurrency issue without Matt work on it? π