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

Поделиться
HTML-код
  • Опубликовано: 9 июн 2024
  • 🌟 Hey devs! 🌟
    Ready to level up your coding game? Check out this awesome course on Microservices using Go!
    🚀 From beginner to pro, learn to build scalable apps with ease. Don't miss out!
    Enroll now: 👉 kantan-coding.teachable.com/p...
    #golanguage #Microservices #CodeWithConfidence 🔥🎉
    ________________________________________________________________________________________________
    Master Go Programming With These Concurrency Patterns (in 40 minutes)
    ☠️ Course Contents ☠️
    🔎 (0:00:00​) Intro
    🔎 (0:01:52) Go Routines
    🔎 (0:06:22) Go Concurrency Structure
    🔎 (0:09:40) Channels
    🔎 (0:15:20) Select
    🔎 (0:19:34) For-Select Loop
    🔎 (0:20:53) Buffered vs Unbuffered channels
    🔎 (0:28:47) The Done Channel
    🔎 (0:34:05) Pipeline
    Book on Concurrency in Go: www.oreilly.com/library/view/...
    Join the Discord to talk to me and the rest of the community!
    / discord

Комментарии • 418

  • @kantancoding
    @kantancoding  2 месяца назад

    🌟 Hey devs! 🌟 Ready to level up your coding game? Check out this awesome course on Microservices using Go! 🚀 From beginner to pro, learn to build scalable apps with ease. Don't miss out! Enroll now 👉 kantan-coding.teachable.com/p/early-bird-special-pricing
    #GoLang #Microservices #CodeWithConfidence 🔥🎉

  • @PouriyaJamshidi
    @PouriyaJamshidi Год назад +41

    Fantastic. It is extremely rare to come across this level of concise and easy to follow explanation.

  • @Aljosja90
    @Aljosja90 Год назад +10

    Incredibly clear explanation, by far the best on YT. Thanks a lot for all the effort!

  • @guventmz
    @guventmz 9 месяцев назад +2

    Best video I have found on the internet about Go concurrency. You really are great at not missing any important points while teaching. Salute.

    • @kantancoding
      @kantancoding  9 месяцев назад

      Hey thank you. That’s kind of you to say. I’m really glad this video has helped so many people. Didn’t expect it. I’m happy that you found it helpful! 😊

  • @meditationdanny701
    @meditationdanny701 2 года назад +26

    Hey man worth waiting keep posting such a quality content

    • @kantancoding
      @kantancoding  2 года назад +1

      Thanks bro! Glad you think so 🙂

  • @akmzahidulislam2764
    @akmzahidulislam2764 Год назад +2

    Just wonderful! How a person be to meticulous in his work and care for his learners! Thanks a million!

    • @kantancoding
      @kantancoding  Год назад

      Thank you for your kind words! I’m happy to help 🙂

  • @omarcrosby
    @omarcrosby 9 месяцев назад +5

    I agree with everyone else's comments. You've done an incredible job of taking a complex and difficult to understand topic and make it clear with a great example demonstrating it. Thank you so much! You've also gained another subscriber.

    • @kantancoding
      @kantancoding  9 месяцев назад

      Thank you! I’m glad that it was helpful. I really hope that everybody can learn to make use of these features of the language 🚀

  • @hary6416
    @hary6416 Год назад +13

    Somehow youtube recommend me this and wasn't disapointed at all. Thanks for the awesome explanation!

    • @kantancoding
      @kantancoding  Год назад

      That’s great to hear 🙂 I’m glad you liked it!

  • @davidcopenhaver5583
    @davidcopenhaver5583 Год назад +47

    One of the best I've seen. You are the rare type that can take complex concepts and explain them so well. I hope you continue to make this kind of great content!

    • @kantancoding
      @kantancoding  Год назад +4

      Hey, this comment made my day! Thank you. I’m really happy to be able to help others understand complex things 🙂

    • @lbmclean
      @lbmclean Год назад

      I subscribed immediately lol. even I could understand the concepts

  • @raianmr2843
    @raianmr2843 Год назад +17

    this tutorial/guide has more personality than the entire cast of friends

    • @kantancoding
      @kantancoding  Год назад +1

      Lol I’m not sure if this is sarcastic or not but thanks 😂

  • @taylormonacelli
    @taylormonacelli 9 месяцев назад +1

    Finally, this tutorial gives me the aha moment with go channels. Terrific job. Very thorough explanations.

    • @kantancoding
      @kantancoding  9 месяцев назад

      That’s great to hear! Thank you 😊

  • @paulina5247
    @paulina5247 11 месяцев назад

    Definitely the best video about concurrency in go I've seen so far! 🤩

    • @kantancoding
      @kantancoding  11 месяцев назад

      Thank you! I’m happy that it was helpful 😊

  • @ajinkya-wasnik
    @ajinkya-wasnik 6 месяцев назад

    Soothing sound along soothing Explanation, just perfect.

  • @MeranoFox
    @MeranoFox Год назад +6

    You really put a lot of effort into this. Well done!

    • @kantancoding
      @kantancoding  Год назад

      Thank you! I really do try so your words mean a lot 🙂

  • @eyevanovich
    @eyevanovich 4 месяца назад

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

    • @kantancoding
      @kantancoding  4 месяца назад

      Thank you! I’m glad it helped. Thanks for watching 🙂

  • @adityapratama3296
    @adityapratama3296 Год назад +1

    Great explanation! This video is the most helpful for me so far to understand concurrency in Go. Thanks, Mate!

    • @kantancoding
      @kantancoding  Год назад

      That’s great to hear! Always happy to help 🙂

  • @smartsome1356
    @smartsome1356 9 месяцев назад +3

    the last part how you explained the go routines is mind blowing
    this was a mind bending concept and cleared in a easy way

    • @kantancoding
      @kantancoding  9 месяцев назад +1

      Thank you! I’m really happy that it helped 😊

    • @omarcrosby
      @omarcrosby 9 месяцев назад +1

      agreed, my mind was blown as well

  • @niteenautade
    @niteenautade Год назад

    The best concurrency video I have watched so far! Good work!

  • @aseelsaghir8078
    @aseelsaghir8078 Год назад +1

    Well explained! Watched many Go Concurrency videos but this is the best one.

  • @BanibrataDutta
    @BanibrataDutta Год назад +4

    Excellent tutorial. There are lot of very smart developers around, but very few who can teach a relatively complex subject in an easy fashion. Kudos, and keep posting.

    • @kantancoding
      @kantancoding  Год назад

      Thank you! I’m really happy to hear that because it’s what I strive for 🙂

  • @rishirajrao5337
    @rishirajrao5337 15 дней назад

    Great tutorial Brother. Got clarity in concurrency pattern. Thanks!

    • @kantancoding
      @kantancoding  15 дней назад

      Awesome bro! I’m glad that it helped you find clarity 😊

  • @dangis2400
    @dangis2400 Год назад +2

    thank you. the principle of pipelines is great and your explanation is simple enough for newbies to understand.

    • @kantancoding
      @kantancoding  Год назад +1

      Thank you for your kind words! I’m glad you enjoyed it 😊

  • @LBCreateSpace
    @LBCreateSpace Месяц назад

    Very clear. Thank you!

    • @kantancoding
      @kantancoding  15 дней назад

      No problem! Thanks for watching

  • @constantinci
    @constantinci 8 месяцев назад +2

    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 🙂

    • @kantancoding
      @kantancoding  8 месяцев назад +1

      Welcome! Yeah Go is definitely a great language. It seems it’s starting to pick up in popularity and the topics you mentioned seem like good video ideas so I will add them to my backlog. Thank you for the valuable feedback and thank you for watching ❤️

  • @VijayRaj-ij4on
    @VijayRaj-ij4on 6 месяцев назад

    Thanks for making this.

    • @kantancoding
      @kantancoding  5 месяцев назад +1

      My pleasure. Thanks for watching 🙂

  • @GamingGuruHQ
    @GamingGuruHQ 8 месяцев назад

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

    • @kantancoding
      @kantancoding  8 месяцев назад

      Thank you! I’m happy to help 😊

  • @zendr0
    @zendr0 Год назад

    Nice. Thank you for this.

  • @RogerDemetrescu
    @RogerDemetrescu Год назад +12

    Liked and subscribed. Very good explanation
    (but the background music is little bit annoying and distracting)

    • @kantancoding
      @kantancoding  Год назад

      Thanks for the feedback! I’m glad you liked it 🙂

    • @chandukona3999
      @chandukona3999 Год назад +1

      @@kantancoding please never ever use that background music

  • @casper64
    @casper64 Год назад

    Amazing video just what I was looking for!

  • @nsgirish
    @nsgirish 4 месяца назад

    Excellent explaination. Thanks sir🎉

    • @kantancoding
      @kantancoding  3 месяца назад

      Thanks for watching! Happy to help 😊

  • @nanateinumondestanley7819
    @nanateinumondestanley7819 3 месяца назад

    I'm glad I came across this tutorial.

    • @kantancoding
      @kantancoding  3 месяца назад +1

      Happy to help! Thanks for watching 😊

  • @malaypatel4014
    @malaypatel4014 6 месяцев назад

    one of the best video. you explain stuff very well

    • @kantancoding
      @kantancoding  6 месяцев назад

      Thank you! I’m glad it helped 😊

  • @cod3a
    @cod3a Год назад +1

    thanks for the video bro, love the way you teach ❤️

    • @kantancoding
      @kantancoding  Год назад

      Thank you bro! I’m happy to help 🙂

  • @veronez9846
    @veronez9846 2 месяца назад

    best video to explain how goroutins work. nice!

  • @yashkalavadiya5021
    @yashkalavadiya5021 2 года назад +1

    This video helped me a lot to clear my doubts. Thanks

    • @kantancoding
      @kantancoding  2 года назад +1

      That’s great to hear. Thank you 🙏

  • @subharthihazra7764
    @subharthihazra7764 25 дней назад

    Wow such a nice explaination .. loved it.

  • @amitnakash1642
    @amitnakash1642 Месяц назад

    great video mate!

    • @kantancoding
      @kantancoding  Месяц назад

      Thanks! I’m glad it was helpful 😊

  • @nikitakurabtsev1222
    @nikitakurabtsev1222 3 дня назад

    This is the gem. Thanks

  • @bhaveshmuleva2352
    @bhaveshmuleva2352 9 месяцев назад

    Really Good Explanation being a beginner in go i was able to understand everything you have taught for concurrency patterns

    • @kantancoding
      @kantancoding  9 месяцев назад

      That’s awesome since that was what I was hoping for! Thank you for the feedback 😊

  • @NguyenDangVo
    @NguyenDangVo Год назад

    Excellent! This established a solid foundation to anybody who wants to understand concurrency not only for Golang but for any programming language.

    • @kantancoding
      @kantancoding  11 месяцев назад

      I’m happy to hear that! Thank you 😊

  • @AntonyMapfumo
    @AntonyMapfumo Год назад

    Thank for you. You've just got yourself another subscriber.

  • @invisibleinvisible83
    @invisibleinvisible83 7 месяцев назад

    Thank you so much for your video 🙏🏻🌹

    • @kantancoding
      @kantancoding  7 месяцев назад

      My pleasure! Happy to help 🙂

  • @WallyBarnum
    @WallyBarnum 10 месяцев назад

    Great explanation. Thank you.

    • @kantancoding
      @kantancoding  10 месяцев назад

      Thank you! Happy to help 😊

  • @dhaw
    @dhaw 11 месяцев назад

    This is Amazing !!!

    • @kantancoding
      @kantancoding  11 месяцев назад

      Thank you! It means a lot 🥲

  • @buntysingh7315
    @buntysingh7315 2 года назад

    wonderful explanation thankyou!!

  • @theophiluseniayewu6270
    @theophiluseniayewu6270 Год назад

    Incredibly easy to understand.....Thanks alot

  • @Nexjsdeveloper
    @Nexjsdeveloper Год назад

    Very clear tutorial, perfect.

    • @kantancoding
      @kantancoding  Год назад

      Thank you! I’m glad it was helpful 🙂

  • @proudmoroccan8164
    @proudmoroccan8164 8 месяцев назад

    Great stuff, thank you for sharing.

    • @kantancoding
      @kantancoding  6 месяцев назад

      Happy to help 😊 thanks for watching!

  • @isurucumaranathunga
    @isurucumaranathunga 23 дня назад

    This is like gold, thanks a lot for this valuable content

  • @abduljabbarazam943
    @abduljabbarazam943 11 месяцев назад

    Really useful video thank you. This has helped me alot trying to understand async programming in Rust. I've never written go.

    • @kantancoding
      @kantancoding  11 месяцев назад

      That’s awesome that the video is also helpful for other languages. Thanks for the feedback! 🙂

  • @memeherp166
    @memeherp166 8 месяцев назад

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

    • @kantancoding
      @kantancoding  8 месяцев назад

      😂that’s awesome! Seems you are working with some advanced concepts. I’m currently working on some videos touching on more advanced concepts. Be on the lookout and thanks for watching! ❤️

  • @badrbadr3793
    @badrbadr3793 Год назад +1

    Thank you and thanks to youtube algo for this recommendation

    • @kantancoding
      @kantancoding  Год назад +1

      😂 happy that it found you! Thank you 🙂

  • @kevinz1991
    @kevinz1991 Месяц назад

    fantastic video thanks so much

  • @kurshadqaya1684
    @kurshadqaya1684 3 месяца назад

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

  • @nikhilsrivastava9120
    @nikhilsrivastava9120 9 месяцев назад

    you are amazing teacher, the best !!

    • @kantancoding
      @kantancoding  9 месяцев назад

      Thank you! I’m really glad it helped 😊

  • @natashaporwal2481
    @natashaporwal2481 9 месяцев назад

    great explanation, please make more of this!

    • @kantancoding
      @kantancoding  9 месяцев назад

      Thank you! More videos coming soon 🙂

  • @systemforge
    @systemforge Год назад

    Fantastic!

  • @Chetansinh_chauhan6419
    @Chetansinh_chauhan6419 Год назад

    Amazing just love to learn in your way....god bless you...🙏

  • @amanchaudhary101
    @amanchaudhary101 10 месяцев назад

    You're taking over👍

    • @kantancoding
      @kantancoding  10 месяцев назад

      Thanks to you all supporting 😊

  • @ilariacorda
    @ilariacorda 3 месяца назад

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

  • @theprolifeclub
    @theprolifeclub 6 месяцев назад

    One of the beat very helpful ❤

  • @gitgyan5202
    @gitgyan5202 2 года назад +1

    The way you explained made it look so easy bro👏.

    • @kantancoding
      @kantancoding  2 года назад +1

      That’s great bro. I’m glad the explanation worked for you 😄

  • @TeamZer01
    @TeamZer01 3 месяца назад

    @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 :)

    • @kantancoding
      @kantancoding  3 месяца назад

      I’m really happy to hear that! Thanks for your comment 😊 it means a lot

  • @itmemo8617
    @itmemo8617 7 месяцев назад

    Liked and subscribed i dont think ill regret it !

  • @dixztube
    @dixztube 9 дней назад

    Great video that was very easy to understand

    • @kantancoding
      @kantancoding  5 дней назад

      Glad it helped! And thank you 😊

  • @dontry1812
    @dontry1812 Год назад

    Great work!

  • @hamzazahidulislam3490
    @hamzazahidulislam3490 2 месяца назад

    Thanks ❤

  • @fyka
    @fyka 2 месяца назад

    lovely!

  • @VictorYarema
    @VictorYarema 11 месяцев назад +1

    Wow! One of the best tutorials into channels I have seen. Really great explanation of what is happening under the hood. For me the first half was a tiny bit boring because of too many details which I already know and which I think every adequate junior software engineer should be already aware of. The second half is perfectly balanced in terms of new material and under the hood explanations. Thanks!

    • @kantancoding
      @kantancoding  10 месяцев назад

      Thanks for the feedback! I’m glad it was helpful 😊

  • @AliAshour-ww9ox
    @AliAshour-ww9ox Год назад

    great tutorial , thank you

  • @ericwang8760
    @ericwang8760 Год назад

    Thanks for your video.😃

  • @unnaturalatrophy5377
    @unnaturalatrophy5377 Год назад +1

    This video finally cleared goroutine and channel for me. Watched so many videos prior to it hut was confused as hell.

    • @kantancoding
      @kantancoding  Год назад +1

      😂🤣 I’m really happy to hear that. With go routines and channels under your belt, you can now take full advantage of the language 🚀

  • @tyronemguni3895
    @tyronemguni3895 Год назад +1

    Great video brother. Hope you keep it going.
    I suggest though that you make the videos in 10 minutes series instead of a single large chunk. It becomes pretty overwhelming and difficult to index when I am trying to refer to your videos when working on something. But ey, you just got yourself a subscriber

    • @kantancoding
      @kantancoding  Год назад

      Good point. It’s hard to sit through longer videos when the topics are complex. I’ll definitely keep this in mind! Thanks bro 🙏

  • @lautaroblasco6852
    @lautaroblasco6852 Год назад

    Great video

  • @linwei2906
    @linwei2906 Год назад

    good job ! body! god bless U😃

  • @JoaoPedroCBoell
    @JoaoPedroCBoell 24 дня назад

    very nice! thx

  • @alihejazi6345
    @alihejazi6345 Год назад

    Awesome tutorial ❤

    • @kantancoding
      @kantancoding  Год назад

      Thank you 😊 I’m glad it helped!

  • @Kavinnathcse
    @Kavinnathcse 8 месяцев назад

    Great tutorial ..

  • @politeboy2996
    @politeboy2996 Год назад +1

    God bless you, do more for us if possible.

    • @kantancoding
      @kantancoding  Год назад

      Thank you 🙂 I will definitely try to do more 🚀

  • @Mortagus
    @Mortagus 7 месяцев назад

    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 ^^

    • @kantancoding
      @kantancoding  6 месяцев назад +1

      That’s awesome! No language is perfect but I hope that you’ll come to enjoy this one as much as I have 😆

  • @stefanababio6974
    @stefanababio6974 Год назад

    Very impressed. More videos please

  • @nirajgupta458
    @nirajgupta458 11 месяцев назад

    Best tutorial I found

    • @kantancoding
      @kantancoding  10 месяцев назад

      Thank you! Happy to help 😊

  • @cipcip4986
    @cipcip4986 Год назад

    Thanks

  • @nitishagrahari9943
    @nitishagrahari9943 9 месяцев назад

    best content, In my learning golang journey.. awesome, mind blowing

    • @kantancoding
      @kantancoding  9 месяцев назад

      Thank you for your kind words, I’m so glad it helped 🙂

  • @Bleyo
    @Bleyo 11 месяцев назад

    amazing content

  • @hereallyfast
    @hereallyfast Год назад

    Best explanation

  • @iarbainaltainvantdevara
    @iarbainaltainvantdevara 7 месяцев назад

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

    • @kantancoding
      @kantancoding  7 месяцев назад +1

      That’s great! I hope more people take up this great language! Thanks for watching my video 😊

  • @alessandroferrari2166
    @alessandroferrari2166 Год назад

    👏🏼👏🏼 subscribed and bell on

  • @laxmangiri5511
    @laxmangiri5511 Год назад

    brother thanks a lot , many concepts like goroutines, concurrent, time.Sleep , it's only been 6:12 and i had cleared all my concepts. I came to this video after watching 10 videos. Thanks you brother.

    • @kantancoding
      @kantancoding  Год назад

      😂 that’s great bro. I really try to explain things clearly so it makes me really happy to get this type of feedback 🙂

  • @FriedrichBoettger
    @FriedrichBoettger 11 месяцев назад

    This is quite clear, even though I'm not a Go programmer. The music, however, is very distracting. Silence is the best accompaniment for an instructional video.

    • @kantancoding
      @kantancoding  11 месяцев назад

      Thanks for the feedback! It’s really helpful 🙂

  • @baleshj
    @baleshj Год назад +1

    Long time subscriber
    Your videos never disappoint me

    • @kantancoding
      @kantancoding  Год назад +1

      Happy to see people sticking around. Thank you for your support! 😊

  • @prafulchandra1998
    @prafulchandra1998 Год назад

    Thanks for the very clear and simple Explanation

    • @kantancoding
      @kantancoding  Год назад

      No problem! Happy to help brother 🙂

  • @wimhuizinga
    @wimhuizinga Год назад +2

    Hi Kantan Coding! You've got a new subscriber. I'm switching from Java to Go and this video helps me a lot to understand the goroutine, channel and select concepts. Thank you for this video! I think a channel is quite similar to Java's LinkedBlockingQueue. The non-buffered channel would be like a LinkedBlockingQueue of size 1. The concepts are very clear, but I'm still struggling a bit with the syntax. Is it right that Go passes copies of the data into the channel instead of a reference? And is it a good idea to pass references into a channel?

    • @kantancoding
      @kantancoding  Год назад +1

      Hey, I’m glad it helped you out! In regard to your question, unlike Java, Go has pointers. So I think you’re question will answer itself if you look into how pointers work in Go. I was actually considering making a video on this topic so maybe I’ll move that up on my list. Anyways, hope it helps!

  • @jondoe79
    @jondoe79 Год назад +4

    Your tutorials so addictive, We want MORE!

    • @kantancoding
      @kantancoding  Год назад

      Thank you 😊
      Is there any topic in particular that you’re interested in?

  • @mbydokht4556
    @mbydokht4556 Год назад

    TYSM

    • @kantancoding
      @kantancoding  11 месяцев назад +1

      Happy to help! Thanks for watching 😊

  • @aliadel1723
    @aliadel1723 10 месяцев назад

    Keep Going Bro ♥

    • @kantancoding
      @kantancoding  10 месяцев назад +1

      Thanks for the encouragement brother ❤️

  • @Nicholascarballo
    @Nicholascarballo Год назад +1

    Do you plan to continue making videos about Go? I really enjoyed your explanation and the background music hit the right cord 👌🏻

    • @kantancoding
      @kantancoding  Год назад +1

      Thanks for the feedback! 😄
      Yes, I will create more Go videos because Go is one of my favorite languages but this is not a Go specific channel. So for those that will be annoyed if I post videos unrelated to go, it's probably best not to subscribe 👍

  • @ankurkumar-zo2bg
    @ankurkumar-zo2bg Год назад

    great video bro

    • @kantancoding
      @kantancoding  Год назад

      Thanks bro, glad you enjoyed it 🙂

  • @VaibhavPatil-rx7pc
    @VaibhavPatil-rx7pc Год назад

    Excellent

  • @marpaxr3986
    @marpaxr3986 Год назад

    Cool!👍