Concurrency in Go

Поделиться
HTML-код
  • Опубликовано: 3 мар 2018
  • Learn Computer Science at brilliant.org/jakewright
    An introduction to Concurrency in Go. The code is available on GitHub github.com/jakewright/tutoria...
    MORE TUTORIALS
    ----------------------------------------
    Learn Go in 12 Minutes
    Learn Docker in 12 Minutes: • Learn Docker in 12 Min...
    Docker Compose in 12 Minutes: • Docker Compose in 12 M...
    Deploy Docker Containers • Deploy Docker Containe...
    Learn HTML in 12 Minutes: • Learn HTML in 12 Minutes
    Learn CSS in 12 Minutes: • Learn CSS in 12 Minutes
    Learn JavaScript in 12 Minutes: • Learn JavaScript in 12...
    Learn PHP in 15 Minutes: • Learn PHP in 15 minutes
    SOCIAL MEDIA
    ----------------------------------------
    twitter / jakewrightuk
    facebook / jakewrightuk
    instagram / jakewrightuk
    snapchat jakewrightuk
    Support this channel at / jakewright
    jakewright.net
  • ХоббиХобби

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

  • @akhil_sai
    @akhil_sai 3 года назад +225

    04:18 WaitGroup
    06:13 Channel
    08:36 Deadlock and Channel closing
    10:08 Non blocking buffered Channel
    11:25 Select statement
    13:23 Worker pool pattern

  • @lonelym13
    @lonelym13 3 года назад +172

    1:35 "And then I'm gonna sleep for half a second"
    Me at night

    • @AndrewRusinas
      @AndrewRusinas 3 года назад

      hahahahahaha

    • @zuggrr
      @zuggrr 3 года назад +3

      2:05 "So it will just do that until I kill it"
      Dwight Schrute with his chickens

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

      Bro I was going to comment "Every college student ever" on the same thing.

  • @sujoyan
    @sujoyan 3 месяца назад +5

    The throughput of knowledge transfer in this video is insane! You are able to cover so much in just 15 minutes. That's amazing.

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

      yeah it's crazy, you even get a taste of what the halting problem is, completely unsolicited

  • @faqs-answered
    @faqs-answered 6 месяцев назад +2

    Extremely easy way to convey the concepts. No wonder why RUclips shows up at the top, despite its small size.

  • @sujay4237
    @sujay4237 4 месяца назад +1

    Currently taking a distributed systems course in college that recommends implementation in go so I did quite a bit of searching to crash course go.
    After watching this and the 12 minute video, i feel like I can just jump in and immediately excel in that course. Concurrency is just done SO well in go.

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

    The illustration at 8:13 is the clearest explanation that I've ever seen

  • @romanmunar
    @romanmunar 3 года назад +17

    For those whose having a hard time understanding the concepts covered, i highly recommend the book 'Concurrency in Go' by Cox Buday, however if you're just starting to learn the language, 'Go in action' by Kennedy and Martin, is more suited then, follow it up with buday's book.

  • @igustingurahokaprinarjaya7482
    @igustingurahokaprinarjaya7482 2 года назад +2

    This is the best best best best best best Go's Concurrency explanation!
    Recommended for all beginner learning Go's Concurrency.
    Very clear, simple, and details! The best!
    Thank You Jake

  • @BernhardHofmann
    @BernhardHofmann 4 года назад +49

    I've watched two of your Go videos now and I'm amazed at how quickly you can convey the lessons. I wish I'd had this pace and style of teaching for all the other languages I've learnt in my 35 year career. Please keep them coming. 💚

  • @gnanakumar1992
    @gnanakumar1992 3 года назад +1

    No one explained this simple for go lang in any RUclips channels. Thanks for the great work.

  • @rohitbhanot7809
    @rohitbhanot7809 5 лет назад +39

    This is short, and crisp but damn at point. Good job mate !!

  • @pronoe
    @pronoe 2 года назад +57

    Extremely easy to follow and understand. Great video. The way you deconstructed this by showing really simple examples and each step adding more logic and/or syntactic sugar is the way I learn myself so this video suited me perfectly.

  • @adsg4692
    @adsg4692 3 года назад +2

    Thanks Jake! Great explanation delivered at the perfect balance for new-comers wanting to understand Go's concurrency model.
    This is so much better than some of the other YT videos I've seen where the code is literally typed out as if that is enough for the viewer to understand how it is working and all hangs together!

  • @GuitarDhyana
    @GuitarDhyana 5 лет назад +1

    This and your other Go video are phenomenal for those who want to tie everything together. Instead of just programming in Go, I can think and understand in Go! Very helpful - thanks.

  • @Pharoah2
    @Pharoah2 4 года назад +27

    This is by far the best channel I’ve found for programming. Perfectly paced for those of us with experience in other languages who need to pick up a new one quickly for a project. Thanks friend

  • @burkaypehlivan5428
    @burkaypehlivan5428 4 года назад +7

    this is by far the best tutorial about concurrency in go. thanks man, keep up the good work!

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

    Some of the absolute best Go content on youtube. Thank you!

  • @Someone-uo8jc
    @Someone-uo8jc Год назад +1

    Perfect explanation of concurrency in Go. The best I've found on RUclips 👍

  • @DieguitoJohnson
    @DieguitoJohnson 5 лет назад +99

    This is an amazing lesson. please do more Go videos.

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

    It's impressive that I watched your html in 12 minutes video a decade ago and it's the video that made me fall in love with coding at the time. Now that I'm learning go I'm also watching your video. I guess the student never outgrows the teacher.

  • @DavidDealAko
    @DavidDealAko 5 лет назад +4

    Great overview of concurrency in go. The pace of the video was spot on and touched the key points.

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

    This video is too great. not only shows how to work with goroutines, but also write a clean and optimized code using golang too. thanks a lot man

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

    this is the best overview of goroutines and channels that i have ever seen. well done.

  • @luizboina3187
    @luizboina3187 3 года назад +5

    your videos is amazing! Really clean and precise, it's everything that a programmer want from tutorials

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

    By far the best practical explanation of go routines, love it

  • @afz902k
    @afz902k 4 года назад +11

    After completing the golang tour, I was still not completely sure about the details of channels, goroutines, and select. I had read slightly about wait groups separately but this really brings it all together neatly and succintly. Great video and one I will probably be coming back to.

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

    This is brilliant.. Haven't ever seen such a packed yet clear video tutorial. Great work buddy

  • @abhinalech
    @abhinalech 5 лет назад +31

    The best explanation about goroutines and channels. Good job dude. 👍

  • @nikunj204
    @nikunj204 5 лет назад

    I must say this is a short but very concise intro to concurrency in go. I liked it.

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

    This is honestly such an amazing tutorial. Great job!

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

    What a great short and to the point introduction to Go concurrency. Great examples. Thanks!

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

    Absolute champion. Literally one of the best videos about programming I've ever seen. Thank you very, very much

  • @DiegoTerzano
    @DiegoTerzano 3 года назад +1

    Thanks Jake. Great introduction, all the relevant concepts of concurrency explained in simple terms with illustrative examples. Thank you very much!

  • @Baconator1368
    @Baconator1368 3 года назад

    Wow pretty cool stuff. I just took an OS class and learned about how complicated concurrency is, and we went over the whole producer/consumer pattern where you need to manage your own conditional variables and mutexes. It seems like channels handle literally all of this for you at runtime!

  • @zzzfortezzz
    @zzzfortezzz 4 года назад +5

    Man, I tried to learn Go in their original tour, and got confused many times in the concurrency section, but you, @
    Jake Wright clear them all.
    Thank you sooo much

  • @stevekamga5977
    @stevekamga5977 3 года назад +1

    By far the best tutorial about Go Concurrency, THANK YOU

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

    lucidly explained a seemingly complex topic. Thank you

  • @figloalds
    @figloalds 3 года назад

    That's a pretty good introduction to go's concurrency, just that, no more, no less, straight to the point, exactly what I was looking for.

  • @darshanshah6525
    @darshanshah6525 3 года назад

    This is the best explanation I've found till now, thanks!

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

    This was the best explanation and illustration I've seen yet. Thank you!

  • @mhkubaid
    @mhkubaid 3 года назад

    Easy explanation with brilliantly organized examples!!

  • @cristianchavez5674
    @cristianchavez5674 3 года назад

    Best video ever to understand go concurrency.
    Thanks !!

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

    Finally a video which explains it all in simple understandable words! Thank you!!😃

  • @gurunathaprasad
    @gurunathaprasad 3 года назад

    This is GOLD.. Thanks a lot Jake

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

    Thanks. Well described. I was pleasantly suprised that Go has such a nice and compact syntax for concurrency stuff.

  • @jaubaa
    @jaubaa 4 года назад +5

    Thanks! This was just what I needed to wrap my head around the subject 👌

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

    Wow, I got impressed how you explained very easily you got the point really well. Thank you!

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

    Beautifully explained. Thank you.

  • @syw4049
    @syw4049 3 года назад

    This is the best demonstration Iǘe seen in go channel. Thanks!

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

    Thanks for this video. just started learning Go for work

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

    Probably the best explanation I've seen yet, nice one 👍

  • @jhoemarP
    @jhoemarP 3 года назад

    i should say, your really good at teaching. i can grasp it easily

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

    Some people are good teachers! Amazing Job!

  • @tennhard
    @tennhard 3 года назад

    This was a great, to the point explanation of concurrency in Go. Very helpful!

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

    This explanation is so clear and to the point, thank you!

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

    A very good explanation indeed! Will definitely watch all of your other videos

  • @jdev_fr
    @jdev_fr 4 года назад

    Thanks for that prez, was perfect to illustrate the/some strength of GO and get me fired up about it.
    Off to install it and start coding.

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

    Man answered all the questions I had from watching the other tutorials

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

    Thank you so much for this video, we are trying to optimize our worker concurrency and this is exactly what I need

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

    truly amazing lessons.. thanks

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

    thank you for such a good and simple explanation

  • @jayachandranp3678
    @jayachandranp3678 3 года назад

    This is really an awesome introduction to Go..
    Thanks Jake..

  • @Web3dopamine
    @Web3dopamine 3 года назад

    One of the most amazing GO tutorials. WOW!! man

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

    Very good video, clear explanations, great examples! Thank you!

  • @jxiuh.861
    @jxiuh.861 Год назад

    best go concurrency video so far on youtube

  • @HarshaVardhan-jf9sd
    @HarshaVardhan-jf9sd 3 года назад

    Very sharp and precise explanation

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

    you have great understanding of the language and thanks for the tuts.

  • @maximilianomonge5852
    @maximilianomonge5852 3 года назад

    Great stuff!!! Coming from the PHP world! this is awesome! Thanks for this videos explaning everything very well! I watched this one and go in 12 minutes :)

  • @NiceGuy1811
    @NiceGuy1811 3 года назад

    Beautifully explained! Thanks a ton for such a lucid explanation!

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

    Really like your examples, easy to follow! 非常推荐!

  • @bikhoda6508
    @bikhoda6508 5 лет назад

    You are a great tutor Jake. Well done!

  • @MrPatrickCorrigan
    @MrPatrickCorrigan 6 лет назад +2

    What a great video. Very well explained. Make more Jake.

  • @igary
    @igary 5 лет назад +7

    Loved this video, I finally understand this

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

    You are a very good teacher!!! Thank you 🙏

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

    I really like the pictorial representation of concepts.

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

    Such a great tutorial! So clear and expressive, thank you so much

  • @guillermosanchezdionis9475
    @guillermosanchezdionis9475 3 года назад

    Man, this tutorial is brilliant. Congrats!

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

    This was so well done. Subscribed!

  • @vineethp3644
    @vineethp3644 3 года назад

    Really simple and amazing tutorial. Thanks !!

  • @Lyrik-Klinge
    @Lyrik-Klinge 3 года назад

    Learning English I have to say that your pronunciation is very clear and soft.

  • @geeshta
    @geeshta 3 года назад

    A few days ago, I started playing Exopunks, a Zachtronics programing game and I really think it illustrates some of these concepts very clearly.

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

    Very good explanation with examples

  • @CodeSOS
    @CodeSOS 3 года назад

    Very nice demonstration. Good job 👍

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

    Brilliant explanation. Thank you!

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

    Very clear. Really understandable, very consistent explanation. Brilliant, amazing, great, cool, nice and super.
    Thank you.

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

    He knows his stuff. Thanks, Jake 👏

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

    Clear and useful explanation. Thank you!

  • @badreddinlabed530
    @badreddinlabed530 3 года назад

    I didn't fully understand go concurrency until I found this video, thank u soo much.

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

    Man this is awesome 🔥🔥 By watching this video, I got to understand each and every single details about concurrency in go. This is one of the best video on Golang... Thanks buddy 😊... Cheers ✌️

  • @linus.
    @linus. 2 года назад

    Wow those channels are awesome. Way better than waiting for promises to resolve in js

  • @simfoo
    @simfoo 3 года назад

    Brilliant examples and well explained

  • @GizmosShop
    @GizmosShop 3 года назад

    Why would anyone thumbs down this video!!!! good job Jake, you are so right

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

    You are a fantastic teacher

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

    The best vid about concurrency in go

  • @calochCN
    @calochCN 5 лет назад

    Great, all of a sudden to see this go video that I am currently interested in other than the very recent one day of a dev.

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

    Wow. Always heard about how go is good at concurrency. This demo really gives that impression to a has-never-used-go guy like me. And the syntax is neat.

  • @andreamarmor4929
    @andreamarmor4929 5 лет назад

    U explain your self really good. Thank u so much for the content.

  • @ET-Programming
    @ET-Programming 8 месяцев назад

    You are Amazing ,clear explanation

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

    thank you! clear and simple.

  • @rushikeswararaopolaki3602
    @rushikeswararaopolaki3602 3 года назад

    Awesome explanation.. Thanks