13

Teaching Coroutines (Talking Kotlin #103)

 3 years ago
source link: https://www.youtube.com/watch?v=VlQoEi5q26U
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Teaching Coroutines (Talking Kotlin #103)

3,575 views
Premiered Sep 13, 2021

20.9K subscribers

In this video, we sit down with Mohit Sarveiya, Google Developer Expert in Kotlin and Android, to talk about everything coroutines.

As an early Kotlin adopter, Mohit tells us about how he first got started with the language and subsequently helped drive its adoption in multiple companies. He recounts his first steps with coroutines and shares his approach to helping others solve practical problems using the concurrency functionality available in Kotlin. He discusses different techniques he uses, from pair programming and thinking through common tasks to testing and deployment on Android or on the backend.

Mohit also recounts how he ended up giving workshops on coroutines – coming up with lesson plans tailored to engineers familiar with other technologies such as RxJava. He tells us more about how he structures his lessons, which involve walking learners through important concepts and approaches with Kotlin and include hands-on lab sessions to nail down the most important use cases.

One of the biggest challenges Mohit discusses is how to approach testing concurrent code that uses coroutines. Drawing upon cases he has encountered in the past, he walks us through pitfalls he’s previously noticed, such as testing gRPC on top of the kroto-plus framework (https://github.com/marcoferrer/kroto-...), and mentions some libraries that can help, like Turbine (https://github.com/cashapp/turbine). He also speaks about other challenges that people just starting out with the concurrency primitives struggle with, and he identifies some key concepts that will help them transition from reading the documentation (https://kotlinlang.org/docs/coroutine...) to applying coroutines in practice.

Find Mohit on Twitter: https://twitter.com/heyitsmohit Find Mohit’s talks and blog posts on his website: https://codingwithmohit.com/

Show lessShow more


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK