Modern Concurrency on Apple Platforms Using Async/await with Swift

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...

Full description

Bibliographic Details
Main Author: Kautsch, Andrés Ibañez
Format: eBook
Language:English
Published: [Berkeley, CA] Apress 2023
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
LEADER 04123nmm a2200481 u 4500
001 EB002137960
003 EBX01000000000000001276087
005 00000000000000.0
007 cr|||||||||||||||||||||
008 230102 ||| eng
020 |a 9781484286951 
050 4 |a QA76.8.M3 
050 4 |a QA76.73.S95 
100 1 |a Kautsch, Andrés Ibañez 
245 0 0 |a Modern Concurrency on Apple Platforms  |b Using Async/await with Swift  |c Andrés Ibañez Kautsch 
260 |a [Berkeley, CA]  |b Apress  |c 2023 
300 |a 213 p. 
505 0 |a Chapter 1: Introduction to Concurrency -- Chapter 2: Async/Await Basics -- Chapter 3: Introducing Structured Concurrency -- Chapter 4: The Task Tree -- Chapter 5: Task Groups -- Chapter 6: Unstructured Concurrency -- Chapter 7: Actors and Global Actors -- Chapter 8: Final Bits -- Chapter 9: AsyncSequence -- Chapter 10: @TaskLocal 
653 |a Logiciels d'application / Développement 
653 |a Swift (Langage de programmation) 
653 |a Computer multitasking / http://id.loc.gov/authorities/subjects/sh92001010 
653 |a Application program interfaces (Computer software) / http://id.loc.gov/authorities/subjects/sh98004527 
653 |a Computer multitasking / fast 
653 |a Application software / Development / fast 
653 |a APIs (interfaces) / aat 
653 |a Fonctionnement multitâche 
653 |a Swift (Computer program language) / fast 
653 |a Application program interfaces (Computer software) / fast 
653 |a Interfaces de programmation d'applications 
653 |a Swift (Computer program language) / http://id.loc.gov/authorities/subjects/sh2015001571 
653 |a Application software / Development / http://id.loc.gov/authorities/subjects/sh95009362 
041 0 7 |a eng  |2 ISO 639-2 
989 |b OREILLY  |a O'Reilly 
500 |a Includes index 
024 8 |a 10.1007/978-1-4842-8695-1 
776 |z 1484286944 
776 |z 9781484286944 
776 |z 1484286952 
776 |z 9781484286951 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781484286951/?ar  |x Verlag  |3 Volltext 
082 0 |a 005.265 
082 0 |a 005.13/3 
520 |a 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. By the end of the book, you'll have a solid foundation for working safely with concurrent code using the new async/await APIs. What You'll Learn Understand concurrency and its traditional problems Work with the new async/await API and all its features, from the basic usage and await keywords, to task groups and async sequences. Implement modern and safe concurrent code that you can start using right away Who This Book Is For Experienced iOS developers at a semi-senior or senior level. Knowledge on the Grand Central Dispatch is a bonus, but not required