Introduction to Kotlin Coroutines
Details
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:
https://play.kotlinlang.org/hands-on/Introduction%20to%20Coroutines%20and%20Channels/
The starting code is:
https://github.com/kotlin-hands-on/intro-coroutines.git
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.
As usual, expect a very live heated discussion :)
As usual, the event will be live broadcasted on YouTube and will remain available there immediately afterwards: https://youtu.be/dRSDUI19Y54
About the speaker
Victor is a Java Champion and an Independent Trainer delivering webinars for companies around the world since 2014. His passion is Simple Design, Refactoring, and Unit Testing, about which he regularly talks at top conferences, but also to the Bucharest Software Craftsmanship Community that he founded. On victorrentea.ro you can find his blog, best talks, training curriculum, live masterclasses, and social channels.
