~/talk

Inter-Reactive Kotlin Applications

Talkat KotlinConf 2017 · 2017-11-02..11-03· [kotlin, reactive-programming]
github:vietj
slides:none on file

Claims that Eclipse Vert.x plus Kotlin coroutines let you write asynchronous, event-driven code in a sequential style, using awaitResult and a Vert.x dispatcher to run suspending functions on the right event loop. Demonstrates a nonblocking JSON streaming parser built with coroutine producers and channels that prints incremental parse events (tested with netcat), propagates cooperative backpressure between readStream/writeStream, and benchmarks showing a single-chunk vs ten-suspend case where coroutine performance stays comparable to the synchronous parser.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Reactive concepts
  3. 3:25Systems vs programming
  4. 4:36Eclipse Vert.x overview
  5. 5:30Callback-based approach
  6. 11:25Kotlin coroutines
  7. 14:07Vert.x coroutines integration
  8. 16:41Coroutines live demo
  9. 20:05Vert.x streams and channels
  10. 22:46Back pressure management
  11. 26:23Reactive JSON parser
  12. 37:48Performance benchmarks
  13. 40:19Coroutines vs RxJava
  14. 43:48Conclusion
~/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.