~/talk

Coroutines: Kotlin Versus

Talkat droidcon San Francisco 2018 · 2018-11-19..11-20· [concurrency, kotlin]
links:none on file
links:none on file

Compares concrete coroutine designs and tradeoffs: Kotlin puts a single suspend keyword in the language but leaves builders like launch/produce/Deferred in a library; channels are modeled after Go and remain partly experimental. Traces Python’s evolution from yield/send/yield from to async/await (3.5), and notes C++’s C++ coroutines TS landed in compilers (clang/MSVC) and leverages LLVM intrinsics so many languages can share an efficient implementation. Claims compiler-generated coroutines often outperform handcrafted state machines and can optimize away multiple resume calls into simple prints.

AI-written summary · about

  1. 0:00Introduction to coroutines
  2. 12:49Tony Hoare and null pointers
  3. 15:41Conway and coroutines history
  4. 17:06Cobalt and early coroutines
  5. 20:19C# async/await syntax
  6. 22:03Lua coroutines explained
  7. 23:50Go routines and channels
  8. 25:55Python coroutines evolution
  9. 30:07JavaScript promises vs coroutines
  10. 33:39C++ coroutines TS
  11. 40:26LLVM coroutines and optimizations
  12. 43:40Summary of differences
~/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.