~/talk

Implementing Concurrency in an Advanced Architecture

Talkat Oredev 2017 · 2017-11-08..11-10· [react-native]
links:none on file
slides:none on file

Concrete code shows where to start async work: put IO async at the entity gateway and CPU work inside use cases, not sprinkled in views. Compares callbacks via protocols, continuation with closures, GCD/DispatchQueue, OperationQueue, Bright Futures and Rx; explains retain cycles, when the use case must be retained, how to cancel and add dependencies, and tradeoffs (simplicity vs composability). Recommendation: pick one or two approaches and apply them consistently.

AI-written summary · about

  1. 0:00Start
  2. 0:38Agenda
  3. 1:33Advanced Architecture, Brief
  4. 2:17Clean Architecture
  5. 3:59Dependency Inversion Principle
  6. 5:00Injecting Dependencies
  7. 8:15Asynchronicity
  8. 13:27Callbacks
  9. 15:52Closures
  10. 18:06Lambdas
  11. 20:10Async Use Cases with GCD
  12. 27:19Futures
  13. 34:02Highlights
  14. 36:10Rules
  15. 37:51Recap
~/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.