What is Structured Concurrency?

Опубликовано: 20 Март 2025
на канале: Alexito's World
2,271
83

In this video I explain what Structured Concurrency is, where it comes from and what benefits does it bring. I compare it to other forms of unstructured concurrency and see the impact that it has in our day to day programming. I put some examples about Swift but the ideas are generally applicable in other languages like Kotlin.

First look at async await in Swift
   • First look at async await - #Swift #C...  

The Actor System
   • Actors in Swift - #Swift #Concurrency  

https://en.wikipedia.org/wiki/Structu...
https://vorpus.org/blog/notes-on-stru...

00:00 Introduction
02:12 Structured programming
07:56 Structured concurrency
13:56 Cooperative cancellation and error propagation
16:14 Dynamically spawn child tasks
21:35 Escape hatch ⚠️
23:10 Conclusion

#Swift #kotlin #concurrency

————————————————————­———————————
Web: https://alejandromp.com
Twitch:   / alejandromp4  
Twitter:   / alexito4