YoVDO

Kotlin Coroutines: Exploring Threads vs. Coroutines and Implementation

Offered By: Smartherd via YouTube

Tags

Kotlin Courses Concurrency Courses Asynchronous Programming Courses Multithreading Courses Lambda Expressions Courses Coroutines Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the world of Kotlin Coroutines in this comprehensive 33-minute video tutorial. Gain a solid understanding of coroutines and their implementation in Kotlin programming. Compare threads and coroutines, exploring their differences and advantages. Learn to use coroutines with GlobalScope.launch lambda expressions and runBlocking lambda functions. Investigate the delay function and its comparison to Thread.sleep. Explore the 'suspend' modifier and suspending functions, and understand how coroutines operate on background or worker threads. Follow along with practical demonstrations and code examples to master these essential concepts in Kotlin development.

Syllabus

Welcome
Threads vs. Coroutines
Coroutines Intro
Coroutines Properties
Implement Coroutines
delay function
suspend function
runBlocking lambda
Custom suspending function
Summary
What's next? .


Taught by

Smartherd

Related Courses

Distributed Programming in Java
Rice University via Coursera
Основы разработки на C++: красный пояс
Moscow Institute of Physics and Technology via Coursera
Многопоточность
Moscow Institute of Physics and Technology via Coursera
LAFF-On Programming for High Performance
The University of Texas at Austin via edX
Android-разработка: основы, многопоточность, архитектура
Moscow Institute of Physics and Technology via Coursera