~/talk

Coroutines Beyond Concurrency

Talkat KotlinConf 2023 · 2023-04-12..04-14· Berlage Zaal· [kotlin]
links:none on file
slides:none on file

Shows coroutines used beyond async: a 100k-coroutines demo proves cheap creation, and sequence builders in the standard library implement laziness by storing a continuation and returning COROUTINE_SUSPENDED. Deep recursion utilities turn recursive calls into a loop to avoid stack overflow. A parser-combinator library Parsus is built on the low-level continuation API (no kotlinx dependency), making parsers debuggable without code generation and working for arbitrarily deep inputs. It actually compiles and runs.

AI-written summary · about

  1. 0:00Introduction to Coroutines
  2. 2:50Coroutine API Structure
  3. 6:11Sequence Builders
  4. 9:24Implementing Sequences
  5. 13:16Yielding and Compilation
  6. 17:49Deep Recursion
  7. 22:46Parser Combinators
  8. 29:53Conclusion and Q&A
~/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.