Asynchronous but Clear: Coroutines in Kotlin
summary
Kotlin's coroutine support is presented as a way to write clear asynchronous code without callback/Future/Promise clutter. It explains how Kotlin generalizes async/await ideas (in particular from C#) into a more universal coroutine mechanism that enables not only async programming but also lazy evaluation and other control-flow patterns.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 2:52Thread blocking problem
- 4:42First coroutine example
- 7:11Coroutine goals and benefits
- 10:42Kotlin coroutine scopes
- 12:03Comparison with C# and others
- 14:20Coroutines in practice
- 17:02Coroutine controller implementation
- 21:59Controller workflow and results
- 25:30Building coroutine libraries
- 26:54How coroutines compile
- 30:27Compilation to state machine
- 33:41State machine details
- 36:37Coroutine flexibility and use
- 37:19Debugging and responsibility
- 39:48Coroutine exception handling
- 44:16Finally blocks issues
- 47:12Real-world coroutine example
- 49:39Sustainable implementation outlook
- 51:45Try coroutines now
- 52:49Limitations and static checks
- 54:16Comparison with other approaches
- 55:20Kotlin support timeline
related talks
49mKotlin Coroutines
59mKotlin coroutines: new ways to do asynchronous programming
30mBetter asynchronous programming with Kotlin Coroutines
42mKotlin Coroutines: Beyond async/await
47mKotlin Coroutines
01h 03mUsing Kotlin Coroutines for Asynchronous and Concurrent Programming
46mIntroduction to Coroutines
45mCoroutines: Kotlin Versus
