~/talk

Concurrency made easy with Kotlin Coroutines

Talkat Voxxed Days Bucharest 2022 · 2022-03-23..03-25· [kotlin, concurrency]
slides:none on file

Shows that Kotlin Coroutines use the suspend keyword and transform functions into resumable state machines, replacing Thread.sleep with delay vs Thread.sleep nonblocking suspension so a pasta demo drops from 35s to 20s on one thread. Explains structured concurrency, scopes and error propagation, GlobalScope pitfalls, runBlocking for bridging and dispatchers (Default, IO, Main), demonstrates a Spring WebFlux + R2DBC reactive web app where coroutines are the glue, and claims thousands of coroutines with far less memory than 100k threads.

AI-written summary · about

  1. 0:00Start
  2. 2:52NON-PREEMPTIVE MULTITASKING?
  3. 12:09COOKING PASTA... AGAIN
  4. 12:55STRUCTURED CONCURRENCY
  5. 16:39ERROR PROPAGATION
  6. 24:47Dispatcher TYPES
  7. 34:48LIBRARIES & FRAMEWORKS
~/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.