Modern Concurrency in Swift (Second Edition)

Modern Concurrency in Swift (Second Edition)
Author :
Publisher : Kodeco Incorporated
Total Pages : 0
Release :
ISBN-10 : 1950325814
ISBN-13 : 9781950325818
Rating : 4/5 (818 Downloads)

Book Synopsis Modern Concurrency in Swift (Second Edition) by : Kodeco Team

Download or read book Modern Concurrency in Swift (Second Edition) written by Kodeco Team and published by Kodeco Incorporated. This book was released on 2023-02-14 with total page 0 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn Modern Swift Concurrency! For years, writing powerful and safe concurrent apps with Swift could easily turn into a daunting task, full of race conditions and unexplained crashes hidden in a massive nesting of callback closures. In Swift 5.5, Apple introduced a new concurrency model featuring the async/await syntax, which lets you write asynchronous code that reads like synchronous code. But like any new feature, here be dragons! So how will you achieve the much-desired mastery of modern Swift concurrency? Modern Concurrency in Swift comes to the rescue, showcasing what you need to know about async/await, tasks, actors and everything in between! Who This Book Is For This book is for intermediate Swift developers who are familiar with writing asynchronous applications and who want to leverage the concurrency features Apple introduced in Swift 5.5 and its evolution throughout the years, to write safer and more predictable asynchronous apps. Topics Covered in Modern Concurrency in Swift Using async/await: Learn how to use the new async/await keywords to define and run asynchronous work. Actors: Find out how to use the actor model to easily protect shared mutable state in a synchronized container. Tasks: You'll dive deeper into the Task type, which powers all asynchronous tasks in Swift's modern concurrency model. Task Groups: Use a Task Group to group multiple tasks together and run them concurrently, while using a familiar Array-like syntax to iterate over the results. Custom Asynchronous Sequences: Leverage the power of async/await in your own asynchronous work, by learning how to create custom AsyncStreams. Testing Asynchronous Code: Asynchronous code can be a challenging beast to test. You'll learn everything you need to tackle this challenge. One thing you can count on: After reading this book, you'll be prepared to leverage Swift's new concurrency features in your app to write safe, performant and predictable asynchronous code.


Modern Concurrency in Swift (Second Edition) Related Books

A Decade of Concurrency
Language: en
Pages: 700
Authors: J.W.de Bakker
Categories: Computers
Type: BOOK - Published: 1994-06-28 - Publisher: Springer Science & Business Media

GET EBOOK

The REX School/Symposium "A Decade of Concurrency - Reflections and Perspectives" was the final event of a ten-year period of cooperation between three Dutch re
Concurrency 88
Language: en
Pages: 412
Authors: Friedrich H. Vogt
Categories: Computers
Type: BOOK - Published: 1988-10-12 - Publisher: Springer Science & Business Media

GET EBOOK

This volume contains the proceedings of CONCURRENCY 88, an international conference on formal methods for distributed systems, held October 18-19, 1988 in Hambu
Ten Years of Concurrency Semantics
Language: en
Pages: 466
Authors: Jacobus Willem Bakker
Categories: Computers
Type: BOOK - Published: 1992 - Publisher: World Scientific

GET EBOOK

This collection of reprints describes a unified treatment of semantics, covering a wide range of notions in parallel languages. Included are several foundationa
Semantics for Concurrency
Language: en
Pages: 353
Authors: Marta Z. Kwiatkowska
Categories: Computers
Type: BOOK - Published: 2013-03-14 - Publisher: Springer Science & Business Media

GET EBOOK

The semantics of concurrent systems is one of the most vigorous areas of research in theoretical computer science, but suffers from disagree ment due to differe
Modern Concurrency in Swift (Second Edition)
Language: en
Pages: 0
Authors: Kodeco Team
Categories:
Type: BOOK - Published: 2023-02-14 - Publisher: Kodeco Incorporated

GET EBOOK

Learn Modern Swift Concurrency! For years, writing powerful and safe concurrent apps with Swift could easily turn into a daunting task, full of race conditions