Modern Concurrency on Apple Platforms: Using async/await with Swift 1st Edition Andrés Ibañez Kautsch- Ebook Instant Download/Delivery ISBN(s): 9781484286944,1484286944,9781484286951, 1484286952
Product details:
- ISBN 10: 1484286952
- ISBN 13: 9781484286951
- Author: Andrés Ibañez Kautsch
Build solid software with modern and safe concurrency features. Concurrency is one of the hardest problems in computer science. For years, computer scientists and engineers have developed different strategies for dealing with concurrency. However, the original concurrency primitives are complicated and difficult to understand, and even harder to implement.
Using the new async/await APIs in Swift, this book will explain how your code can abstract a lot of the complexity with a simpler interface so you never have to deal with concurrency primitives such as semaphores, locks, and threads yourself. This will allow you to write concurrent code that is easier to read, easier to write, and easier to maintain. These new APIs are deeply ingrained into Swift, offering compile-level features that will keep you from writing dangerous concurrent code.
You’ll start by exploring why concurrency is hard to implement in a traditional system. Explaining the definition of concurrency and what its primitives are will help you understand why they are hard to use correctly. These concepts will become clearer as you work through the sample projects. The book’s focus then shifts exclusively to the new APIs, helping you understand how the integration of the system with the language itself makes it easier for you to write concurrent code without overstepping the bounds of the concurrency safe zone.
Table contents:
1. Introduction
2. Introducing async/await
3. Continuations
4. Structured Concurrency
5. Unstructured Concurrency
6. Actors
7. Sendable Types
8. The Main Actor & Final Actors
9. AsyncSequence
10. @TaskLocal
People also search:
modern concurrency on apple platforms
modern concurrency on apple platforms pdf
what is concurrency in ios
what platform does apple use
is trds cross platform