Michael Long
Jul 9, 2024

--

And `go foo()` isn't hiding complex mechanisms behind language syntax?

Task { ... } isn't syntactic sugar. It's a specific instruction to the system to create an asynchronous context denoted by the task closure.

Does the developer need to be aware of it? Yep. Should the developer be aware of it? Yep.

Further, the same mechanisms are also the basis for actor interactions and Swift concurrency.

Not convinced.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

No responses yet