Introduction to Kotlin Coroutines

preview_player
Показать описание
Coroutines are a cool mechanism for orchestrating asynchronous work using 'structured concurrency'.

Other languages like python, C#, and C++ have supported these techniques for quite a while, but Kotlin was the first language able to run coroutines on JVM. Coroutines have become a strong competitor to Futures, CompletableFutures, and Reactive Programming paradigm (rxjava and reactor), winning great victories on the Android battlefield. Furthermore, some teams are now considering the use of coroutines also on backend systems to optimize thread usage for high-TPS systems.

This event will demonstrate the core features of coroutines, implemented with Kotlin. Yes, there will be Kotlin code 😎.

We will be following the official Kotlin Coroutines hands-on tutorial from here:
The starting code is:

We won't be 'reading' much from it live, but if you want to prepare, it would help enormously to read it in advance. Note: some prior contact with multi-threaded code/UI development is expected.

Very important: all experienced Kotlin developers are kindly invited to join and debate with us advanced topics such as performance tuning, leaks, best practices, anti-patterns etc.

About the speaker
Рекомендации по теме