SwiftLee
Read post

Swift 6.4: What’s New in Concurrency

Swift 6.4, released at WWDC 2026, brings several concurrency improvements. Key changes include: async defer bodies (SE-0493) allowing await inside defer for cleaner cleanup; task cancellation shields (SE-0504) via withTaskCancellationShield to protect cleanup code from observing cancellation; compiler warnings for ignored throwing tasks (SE-0520) to prevent silently swallowed errors; typed throwing task initializers for more specific failure types; an async Result initializer (SE-0530) to reduce boilerplate; weak let references from Swift 6.3 (SE-0481) for Sendable-safe delegate patterns; and ~Sendable (SE-0518) to explicitly mark types as intentionally non-Sendable.

    #swift
Jun 21•10m read time•From avanderlee.com
Post cover image
Table of contents
Finding Swift version-related proposalsAsync defer statementsTask cancellation shieldsWarnings for ignored throwing tasksTyped throwing task initializersAsync Result supportWeak let referencesExplicitly non-Sendable typesGet weekly Swift Evolution updatesConclusion
2 Impressions
SwiftLee's image
SwiftLee

Avanderlee is a blog and resource hub for iOS development, offering tutorials, tips, and insights fo...

173 Followers

•

249 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard