~/talk

Leveraging structured concurrency in your applications

slides:none on file

Explains concrete patterns: use swift-service-lifecycle’s ServiceGroup to run components in child tasks, handle Unix signals and perform graceful shutdown instead of canceling everything at once; implement with-style methods that return generics, use the sending/inout sending keywords to avoid data races, and add a cancellation shield for async cleanup. Demonstrates a gRPC “pretzel” server streaming a file with backpressure and a logging backend; the pattern prevents unstructured-task DoS and composes across Swift 6 concurrency features.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:19Problems with unstructured concurrency
  3. 10:02Swift Service Life Cycle package
  4. 15:41Fixing with-style methods in Swift
  5. 22:12Composing structured concurrency
  6. 28:31Key takeaways and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.