Swift Concurrency Model

GPTKB entity

Statements (52)
Predicate Object
gptkbp:instanceOf concurrency model
gptkbp:announced gptkb:WWDC_2021
gptkbp:category gptkb:programming_language
Software engineering
Concurrency
gptkbp:documentation https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html
gptkbp:enables concurrent code execution
actor-based isolation
asynchronous functions
main thread isolation
safe data sharing
structured task management
gptkbp:feature actor
continuations
structured concurrency
async/await syntax
task groups
MainActor
Sendable protocol
Task API
gptkbp:goal improve code readability
improve maintainability
eliminate data races
safe and efficient concurrency
https://www.w3.org/2000/01/rdf-schema#label Swift Concurrency Model
gptkbp:influencedBy C# async/await
structured concurrency research
gptkbp:introduced gptkb:Swift_programming_language
gptkbp:introducedIn Swift 5.5
gptkbp:relatedConcept deadlock
threading
asynchronous programming
parallelism
continuations
task cancellation
structured concurrency
actor isolation
MainActor
Sendable types
data race
unstructured concurrency
gptkbp:replacedBy GCD (Grand Central Dispatch)
Operation Queues
gptkbp:supportedBy gptkb:Windows
gptkb:Linux
Apple platforms
gptkbp:usedIn iOS development
macOS development
tvOS development
watchOS development
gptkbp:bfsParent gptkb:Concurrency_Working_Group
gptkbp:bfsLayer 8