WHAT IS A COROUTINE? - Kotlin Coroutines

WHAT IS A COROUTINE? - Kotlin Coroutines

Philipp Lackner

4 года назад

154,422 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@MSSSangameshwarhari
@MSSSangameshwarhari - 26.10.2023 05:21

Best introduction video for coroutines

Ответить
@iftekharkhan4652
@iftekharkhan4652 - 12.10.2023 13:29

There is an error in thois video. Threads can be suspended and resumed using wait() and notify()

Ответить
@kingelectonics437
@kingelectonics437 - 06.08.2023 15:49

Girlfriend?{
throw NotForProgrammerException()
Return null}
😂😂😂
no one didn't see that subtilty .

Ответить
@highestdremas7654
@highestdremas7654 - 31.07.2023 20:01

fun findGirlFriend(): Girlfriend? {
throw NotForProgrammerExpection()
return null
}

Bro it hits deep

Ответить
@abacaabaca8131
@abacaabaca8131 - 13.07.2023 17:44

for anybody curious as to why a thread may need to be "rested" is because at some point you may want to read that "rested" thread, otherwise data race would happen.

Ответить
@dogansengul7313
@dogansengul7313 - 29.06.2023 19:48

You are creating amazing content about Android. Thanks!

Ответить
@clarencemoore4058
@clarencemoore4058 - 15.06.2023 23:03

Thank so much for everything you do Phillip! I love the visual representation to demonstrate how Threads work. This really helped me to understand the concept!😃

Ответить
@alexnovikov1609
@alexnovikov1609 - 25.04.2023 02:56

The best explanation ever!

Ответить
@saikou_absolute
@saikou_absolute - 21.04.2023 07:44

nice and cool lesson

Ответить
@suntvhits
@suntvhits - 22.02.2023 14:04

Very nice explanations bro...

Ответить
@arjangap2551
@arjangap2551 - 02.02.2023 15:51

Good explanation. Thank you for making this video

Ответить
@undefinedbug1.0
@undefinedbug1.0 - 17.12.2022 06:50

throw NotForProgrammerException :D

Ответить
@masoomsanadi
@masoomsanadi - 25.10.2022 10:54

very useful.
to the point.
will use info on stackoverflow 🙂

Ответить
@nymexe
@nymexe - 25.09.2022 18:44

Launching 100000 coroutines is kind of a stupid idea))

Ответить
@favour2871
@favour2871 - 15.08.2022 20:35

😃

Ответить
@desusaivenkat4518
@desusaivenkat4518 - 01.08.2022 19:56

The comparison with the construction work is really great.

Ответить
@starkhunt2684
@starkhunt2684 - 21.07.2022 00:02

Such a great explanation bro. Thanx for this video

Ответить
@trejkaz
@trejkaz - 29.06.2022 16:19

One thing I never really got about coroutines in Kotlin is, the feature is clearly supported at the language level in some way - having a special keyword for functions which can be suspended makes that pretty clear. But then, to actually use them, all the functionality seems to be bumped out to a kotlinx library, which doesn't feel like first-class support at all.

One of the issues I've seen this create is, when I wanted to implement a quick cache for a library, I could not find a sensible way to do the locking. The library maintainer didn't want to add dependencies, which I think is fair enough if you're developing a library, because some people will try to minimise the things they depend on, and having libraries which pull in other dependencies can increase auditing effort.

This is somewhat more painful than in Java itself, where threading and ExecutorService and even ForkJoinPool are all available in core.

In Kotlin, it's really like you get handed the `lazy` property helper and you have to build any thread safety you want on top of that, which is painful.

Ответить
@dhanshyamkamath8493
@dhanshyamkamath8493 - 23.06.2022 19:27

Well explained

Ответить
@David-zb8br
@David-zb8br - 16.06.2022 04:51

Better explained than androids devs official channel lol

Ответить
@basavarajashok
@basavarajashok - 08.05.2022 09:18

This is highest class tutorial.

Ответить
@TheHypertwist
@TheHypertwist - 24.04.2022 22:02

I've watched all your tutorials about kotlin coroutines and I have to say you've done an amazing job. I finally understand how to use them. Thank you so much!

Ответить
@56_shekharshinde84
@56_shekharshinde84 - 14.04.2022 19:21

God Explanataion

Ответить
@letrungkien7
@letrungkien7 - 04.03.2022 18:37

I've watched a few of your videos and found them super intuitive! Very easy to follow and understand. Subscribed!

Ответить
@timta4624
@timta4624 - 21.02.2022 00:19

well, its pretty hard theme and thanks for explaning

Ответить
@Aspiret620
@Aspiret620 - 12.02.2022 17:39

This was so well explained holy crap.

Ответить
@stefanbecker5129
@stefanbecker5129 - 01.02.2022 23:38

Great videos! Thanks a lot!

Ответить
@khaledsaif3085
@khaledsaif3085 - 02.12.2021 23:39

The workers in construction building is the best example to understand Coroutine I have found on Internet.

Ответить
@Kunal-jp8tn
@Kunal-jp8tn - 18.11.2021 19:23

Thank you so much for the video.

Ответить
@jesprotech
@jesprotech - 12.11.2021 11:43

Very well explained and in great detail. I think the best of your video would be the construction worker bit. It makes it very clear where coroutines operate and their relation to threads. 👍

Ответить
@jhaskumar3
@jhaskumar3 - 10.11.2021 04:09

Construnction analogy was really cool

Ответить
@scottloewke5199
@scottloewke5199 - 01.10.2021 20:36

The construction sites/workers are an excellent analogy. Nice!

Ответить
@r.j.jeninjoseph4975
@r.j.jeninjoseph4975 - 03.08.2021 18:02

Superb explanation bro

Ответить
@Somerandomnessvvv
@Somerandomnessvvv - 24.07.2021 22:31

I've been on your channel for weeks now, and every time your demonstration gets even better. Great job Philipp.

Ответить
@ipsadas4171
@ipsadas4171 - 17.07.2021 18:53

Awesome content and well demonstrated content ...keep it up

Ответить
@Sk-gb2hx
@Sk-gb2hx - 21.06.2021 11:41

+

Ответить
@prashantmanshrestha
@prashantmanshrestha - 09.06.2021 21:42

you are "Super Android Man"

Ответить
@vincent56789100
@vincent56789100 - 26.02.2021 06:11

coroutines vs RxJava? which one better?

Ответить
@cagrkrt332
@cagrkrt332 - 14.02.2021 21:54

Every time i want to learn something your videos shows up. You are a great teacher. Thanks a lot.

Ответить
@sudattdave
@sudattdave - 23.01.2021 20:14

clean and concise 😍

Ответить
@bYTeHeaD
@bYTeHeaD - 01.12.2020 15:16

I thought there is a different person narrating the lecture, 😂😅

Ответить
@developerkiwi8368
@developerkiwi8368 - 23.11.2020 09:10

Clear explanation !

Ответить
@Henkkagg
@Henkkagg - 18.11.2020 03:36

Best Kotlin tutorials for Android. Thank you.

Ответить
@ShubhamSinghMusic
@ShubhamSinghMusic - 04.10.2020 17:44

Great explanation! Thank you :))

Ответить
@bellajudey1410
@bellajudey1410 - 26.09.2020 21:53

Thanks. Very good explanation. Can you plz share your code for 100000 coroutines and threads, despite many tries, I'm unable to start 100000 coroutines that update UI as well.

Ответить
@mahmoudshaaban1931
@mahmoudshaaban1931 - 11.09.2020 18:28

Great content.. Super like

Ответить