Swift Swift Concurrency
Task.detached Isn't Task With Extra Steps. It Throws Away Everything Task Inherited For You.
Task.detached in Swift concurrency looks like a stronger version of Task, but it silently drops actor isolation, priority, and task-local values. Here's what actually breaks, and when detached is genuinely the right call.
5 min read
Swift Swift Concurrency
Swift Wants to Let a Closure Promise 'I Run Once.' Here's the Bug That's Been Waiting For It.
A fresh Swift Evolution pitch, @called(once), lets the compiler know a function is invoked at most one time — and that one guarantee quietly unlocks Task closures that consume non-Sendable values and non-Copyable captures that don't work today. Here's the errors it fixes, in real code.
7 min read