Master Go Programming With These Concurrency Patterns (in 40 minutes)

Master Go Programming With These Concurrency Patterns (in 40 minutes)

Kantan Coding

2 года назад

158,290 Просмотров

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


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

@tzakarda
@tzakarda - 23.08.2023 16:04

I think that example "The Done Channel" is not correct. Instead of call close(done) it should be done <- true/false. If you add log in the case done <- you will see that the statement is not invoke. But with that call done <- true/false it is.



func doWork(done <- chan bool) {
for {
select {
case <-done:
fmt.Println("work done")
case default:
fmt.Println("doing work")
}
}
}

func main() {
done := make(chan bool)
go doWork(done)
time.Sleep(time.Sleep * 3)
done <- true
}

Despite this, your channel is great and very educational. You can explain complex concepts very well and clear. Great Tutorials !!! Keep up with the great work.

Ответить
@yosimarcaballero8571
@yosimarcaballero8571 - 07.03.2024 08:33

Nice video, by the way what theme do you use?

Ответить
@TeamZer01
@TeamZer01 - 05.03.2024 23:13

@Kantan, I'm definitely not regretting subscribing to this channel. I'm learning go and so far you have been a huge help for me to understand complex go concepts. Thank you sir :)

Ответить
@nanateinumondestanley7819
@nanateinumondestanley7819 - 04.03.2024 18:34

I'm glad I came across this tutorial.

Ответить
@hassam343
@hassam343 - 03.03.2024 00:32

Please remove the annoying continuous background noise in the video if you can, I was having a hard time ignoring that.

Ответить
@kurshadqaya1684
@kurshadqaya1684 - 27.02.2024 09:56

Learned Go in 2017.
Never understood them until now.
Thank you!

Ответить
@ilariacorda
@ilariacorda - 16.02.2024 16:34

the suspense music is so spot on aha Great tutorial, fab

Ответить
@Xenoido
@Xenoido - 14.02.2024 10:09

Love your video! But what is that background sound? It gets really annoying! I think it would be easier to follow without it.

Ответить
@nsgirish
@nsgirish - 08.02.2024 20:07

Excellent explaination. Thanks sir🎉

Ответить
@mloskot
@mloskot - 07.02.2024 16:36

An awesome tutorial!
p.s. Please avoid this phone ring like jingle as background music 😊

Ответить
@eyevanovich
@eyevanovich - 01.02.2024 10:22

This was fantastic and well explained. I now have a way better understanding of how channels and select statements work within Go. Great job.

Ответить
@Harchit23
@Harchit23 - 29.01.2024 07:02

what kind of use cases do these patterns have?

Ответить
@thomastthai
@thomastthai - 25.01.2024 02:41

Excellent content except for the extremely distracting background noise/music.

Ответить
@_Holy_Lance_
@_Holy_Lance_ - 21.01.2024 02:10

Next part with mutexes and wait groups I presume

Ответить
@zeki7540
@zeki7540 - 10.01.2024 14:59

background voice is very discractive. it's terrible in a good tutorial.

Ответить
@EricT43
@EricT43 - 12.12.2023 04:19

Your first example with three independent goroutines that print a string would be a good case for using sync.Waitgroup to make sure they all complete before exiting main.

Ответить
@araujo_88
@araujo_88 - 10.12.2023 01:37

The background music is annoying.

Ответить
@farm254
@farm254 - 09.12.2023 12:39

this is good

Ответить
@rohitdeka670
@rohitdeka670 - 04.12.2023 19:04

the use of buffered channel didn't really felt like go concurrency. What if I run bunch of go routines and need to read all the data later in the main function? will it be concurrent or single threaded?

Ответить
@malaypatel4014
@malaypatel4014 - 04.12.2023 11:16

one of the best video. you explain stuff very well

Ответить
@VijayRaj-ij4on
@VijayRaj-ij4on - 25.11.2023 09:41

Thanks for making this.

Ответить
@theprolifeclub
@theprolifeclub - 24.11.2023 17:36

One of the beat very helpful ❤

Ответить
@sushantdhiman3999
@sushantdhiman3999 - 22.11.2023 11:00

What font are you using?

Ответить
@ajinkya-wasnik
@ajinkya-wasnik - 19.11.2023 13:18

Soothing sound along soothing Explanation, just perfect.

Ответить
@flowing2705
@flowing2705 - 08.11.2023 20:17

As a newcomer to the world of Golang and goroutines, I loved every second of this video!

Ответить
@Mortagus
@Mortagus - 07.11.2023 18:30

Very cool demonstration.
I'm just starting at Go but this is not my first language (I've been a backend developer for 12+ years).
This language is getting more interesting at each new video I watch, this is exiting ^^

Ответить
@rexromae17
@rexromae17 - 03.11.2023 11:38

Thanks

Ответить
@invisibleinvisible83
@invisibleinvisible83 - 30.10.2023 09:37

Thank you so much for your video 🙏🏻🌹

Ответить
@anorprogrammer
@anorprogrammer - 26.10.2023 22:44

Which Theme? I like it

Ответить
@itmemo8617
@itmemo8617 - 25.10.2023 23:23

Liked and subscribed i dont think ill regret it !

Ответить
@mementomori8856
@mementomori8856 - 19.10.2023 09:19

I GET IT NOW! thanks lol

Ответить
@newprogrammer-xo8yf
@newprogrammer-xo8yf - 16.10.2023 04:39

For a buffered channel, does the receiver get blocked until a message comes?

Ответить
@vcool
@vcool - 15.10.2023 01:02

What's the background tune that was playing? Is there a library of them? I thought it made the video more interesting.

Ответить
@vincent3542
@vincent3542 - 11.10.2023 06:30

This explanation are really good, explained systematically from bottom to top, i came from frontend dev who dont know nothing about conccurent programming, even though i watch ZTM Golang i still cannot fully grasp the idea behind this Pattern.

Love from indonesian bro, already liked videos also subscribed and shared!!

Ответить
@proudmoroccan8164
@proudmoroccan8164 - 03.10.2023 19:02

Great stuff, thank you for sharing.

Ответить
@jakeshoemaker1483
@jakeshoemaker1483 - 28.09.2023 20:53

what font is this?

Ответить
@oskartokacz6854
@oskartokacz6854 - 27.09.2023 16:49

Really like the music at the end of intro, now I'm ready to destroy those goroutines 🔥

Ответить
@memoria111
@memoria111 - 25.09.2023 01:27

So good

Ответить
@GamingGuruHQ
@GamingGuruHQ - 23.09.2023 17:46

Extremely clear explanation on concurrency . Keep up the good work.

Ответить
@constantinci
@constantinci - 19.09.2023 10:55

From now on, you've got one more subscriber. Great content. I can't wait for some more advanced topics like, dependency injection, dynamic typing (interface{}) etc. As a php programmer recently I rewrote one of my microservices, and I was amazed by ease of doing it just with go. Apart of painfully precise data types declaration, and luck of many useful generic functions present in php core, I had almost ecstatic pleasure. Most of the time I do hard core backend staff with data transfer and after speed comparison I fell in love with go 🙂

Ответить
@memeherp166
@memeherp166 - 19.09.2023 03:40

Thanks kantan, coincidentally yours video help me to solve Producer-consumer problem.

Ответить
@drewsarkisian9375
@drewsarkisian9375 - 18.09.2023 16:36

A lightsaber cursor?! LOL, oh, that's cool!

Ответить
@memeherp166
@memeherp166 - 18.09.2023 15:43

is it only me who think that golang is easy to learn but hard to master ?

Ответить
@Kavinnathcse
@Kavinnathcse - 17.09.2023 16:35

Great tutorial ..

Ответить
@SudeepBatra-kp7fn
@SudeepBatra-kp7fn - 15.09.2023 06:42

Everything is very good but what is the background noise throughout the video. It's very annoying.

Ответить
@nikhilsrivastava9120
@nikhilsrivastava9120 - 12.09.2023 17:42

you are amazing teacher, the best !!

Ответить
@MrVipulLal
@MrVipulLal - 09.09.2023 01:06

Good. But verbose

Ответить