Concurrency in Go

  Переглядів 602,095

Jake Wright

Jake Wright

6 років тому

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
@lonelym13
@lonelym13 3 роки тому
1:35 "And then I'm gonna sleep for half a second" Me at night
@AndrewRusinas
@AndrewRusinas 3 роки тому
hahahahahaha
@zuggrr
@zuggrr 2 роки тому
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.
@akhil_sai
@akhil_sai 3 роки тому
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
@darryljackman
@darryljackman 2 роки тому
Dude, you are the man!
@somerandomchannel382
@somerandomchannel382 8 місяців тому
isnt the last one just multi threading?
@sujoyan
@sujoyan 2 місяці тому
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 Місяць тому
yeah it's crazy, you even get a taste of what the halting problem is, completely unsolicited
@faqs-answered
@faqs-answered 5 місяців тому
Extremely easy way to convey the concepts. No wonder why UKposts shows up at the top, despite its small size.
@BernhardHofmann
@BernhardHofmann 4 роки тому
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. 💚
@romanmunar
@romanmunar 3 роки тому
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.
@rohitbhanot7809
@rohitbhanot7809 5 років тому
This is short, and crisp but damn at point. Good job mate !!
@adsg4692
@adsg4692 3 роки тому
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!
@hoale9689
@hoale9689 Рік тому
The illustration at 8:13 is the clearest explanation that I've ever seen
@GuitarDhyana
@GuitarDhyana 4 роки тому
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 3 роки тому
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
@DavidDealAko
@DavidDealAko 5 років тому
Great overview of concurrency in go. The pace of the video was spot on and touched the key points.
@burkaypehlivan5428
@burkaypehlivan5428 4 роки тому
this is by far the best tutorial about concurrency in go. thanks man, keep up the good work!
@gnanakumar1992
@gnanakumar1992 3 роки тому
No one explained this simple for go lang in any UKposts channels. Thanks for the great work.
@pronoe
@pronoe 2 роки тому
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.
@deathdogg0
@deathdogg0 Рік тому
Some of the absolute best Go content on youtube. Thank you!
@luizboina3187
@luizboina3187 3 роки тому
your videos is amazing! Really clean and precise, it's everything that a programmer want from tutorials
@everdrone97
@everdrone97 Рік тому
By far the best practical explanation of go routines, love it
@DieguitoJohnson
@DieguitoJohnson 4 роки тому
This is an amazing lesson. please do more Go videos.
@DiegoTerzano
@DiegoTerzano 2 роки тому
Thanks Jake. Great introduction, all the relevant concepts of concurrency explained in simple terms with illustrative examples. Thank you very much!
@igustingurahokaprinarjaya7482
@igustingurahokaprinarjaya7482 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
@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!
@nikunj204
@nikunj204 5 років тому
I must say this is a short but very concise intro to concurrency in go. I liked it.
@jan5310
@jan5310 Рік тому
What a great short and to the point introduction to Go concurrency. Great examples. Thanks!
@thebahrimedia
@thebahrimedia Рік тому
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.
@sbera87
@sbera87 Місяць тому
This is brilliant.. Haven't ever seen such a packed yet clear video tutorial. Great work buddy
@amin32031
@amin32031 2 роки тому
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
@Someone-uo8jc
@Someone-uo8jc Рік тому
Perfect explanation of concurrency in Go. The best I've found on UKposts 👍
@jaubaa
@jaubaa 4 роки тому
Thanks! This was just what I needed to wrap my head around the subject 👌
@sujay4237
@sujay4237 3 місяці тому
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.
@linux_master_race
@linux_master_race 2 роки тому
This was the best explanation and illustration I've seen yet. Thank you!
@darshanshah6525
@darshanshah6525 3 роки тому
This is the best explanation I've found till now, thanks!
@anu8928
@anu8928 Рік тому
Finally a video which explains it all in simple understandable words! Thank you!!😃
@MrPatrickCorrigan
@MrPatrickCorrigan 6 років тому
What a great video. Very well explained. Make more Jake.
@igary
@igary 4 роки тому
Loved this video, I finally understand this
@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.
@bikhoda6508
@bikhoda6508 5 років тому
You are a great tutor Jake. Well done!
@abhinalech
@abhinalech 4 роки тому
The best explanation about goroutines and channels. Good job dude. 👍
@tennhard
@tennhard 3 роки тому
This was a great, to the point explanation of concurrency in Go. Very helpful!
@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.
@stevekamga5977
@stevekamga5977 2 роки тому
By far the best tutorial about Go Concurrency, THANK YOU
@naikrovek
@naikrovek Рік тому
this is the best overview of goroutines and channels that i have ever seen. well done.
@afz902k
@afz902k 4 роки тому
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.
@NiceGuy1811
@NiceGuy1811 3 роки тому
Beautifully explained! Thanks a ton for such a lucid explanation!
@jayachandranp3678
@jayachandranp3678 3 роки тому
This is really an awesome introduction to Go.. Thanks Jake..
@JannisAdmek
@JannisAdmek 2 роки тому
This explanation is so clear and to the point, thank you!
@jukkanikki3395
@jukkanikki3395 2 роки тому
Thanks. Well described. I was pleasantly suprised that Go has such a nice and compact syntax for concurrency stuff.
@erwinveenhoven7446
@erwinveenhoven7446 Місяць тому
This is honestly such an amazing tutorial. Great job!
@Web3dopamine
@Web3dopamine 3 роки тому
One of the most amazing GO tutorials. WOW!! man
@TANVEER991164
@TANVEER991164 Рік тому
lucidly explained a seemingly complex topic. Thank you
@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 :)
@syw4049
@syw4049 2 роки тому
This is the best demonstration Iǘe seen in go channel. Thanks!
@Timbo101001
@Timbo101001 2 місяці тому
Probably the best explanation I've seen yet, nice one 👍
@guillermosanchezdionis9475
@guillermosanchezdionis9475 3 роки тому
Man, this tutorial is brilliant. Congrats!
@jeremytweedie1452
@jeremytweedie1452 2 роки тому
A very good explanation indeed! Will definitely watch all of your other videos
@gurunathaprasad
@gurunathaprasad 3 роки тому
This is GOLD.. Thanks a lot Jake
@jojojawjaw
@jojojawjaw Рік тому
Such a great tutorial! So clear and expressive, thank you so much
@VeneraVarbanova
@VeneraVarbanova 2 роки тому
Very good video, clear explanations, great examples! Thank you!
@jxiuh.861
@jxiuh.861 Рік тому
best go concurrency video so far on youtube
@cristianchavez5674
@cristianchavez5674 2 роки тому
Best video ever to understand go concurrency. Thanks !!
@andreamarmor4929
@andreamarmor4929 5 років тому
U explain your self really good. Thank u so much for the content.
@Lyrik-Klinge
@Lyrik-Klinge 3 роки тому
Learning English I have to say that your pronunciation is very clear and soft.
@rahil_rehan
@rahil_rehan 4 роки тому
Best tutorial on concurrency ever.
@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.
@mhkubaid
@mhkubaid 2 роки тому
Easy explanation with brilliantly organized examples!!
@licokr
@licokr Рік тому
Wow, I got impressed how you explained very easily you got the point really well. Thank you!
@et4493
@et4493 7 місяців тому
Absolute champion. Literally one of the best videos about programming I've ever seen. Thank you very, very much
@TheR971
@TheR971 5 років тому
Not gaing to lie, this video really makes me want to write a few cpp libraries to emulate this behaviour. It's gorgeous!
@VishalAnand24
@VishalAnand24 5 років тому
I did the same in C# when I first saw it
@Peshyy
@Peshyy 5 років тому
@@VishalAnand24 I'm interested in the performance differences between Go and your C# library. Could you please share your results? Also how many lines of code were needed for you to write it in C#?
@Qrzychu92
@Qrzychu92 5 років тому
@@Peshyy making those channels is very easy, since you already have ConcurrentQueue which wrapper nicely would do exactly that. But to be honest I didn't have the same reaction - I just use observables to do similar things, and they can be "converted" to tasks to nicely wait for them to finish. This isn't as magick as you think :P
@nandhannatarajan2127
@nandhannatarajan2127 4 роки тому
or just use go lol
@tanieltari4539
@tanieltari4539 3 роки тому
@@SimonWoodburyForget I dont agree with you. Go is meant to be compiled to machine code and GC is just another lib linked into the executable. Meanwhile C# compiles to IL and machine code is produced on runtime, GC resides in the dotnet runtime. Sure JITing is fast, but it still has some overhead. On the other hand I do like C# syntax more, but thats just personal taste...
@KanishkaDilshan
@KanishkaDilshan 6 років тому
Very informative and easy to understand! Great demonstration!!!
@vineethp3644
@vineethp3644 3 роки тому
Really simple and amazing tutorial. Thanks !!
@dp-mason
@dp-mason 4 роки тому
You are a god send. I would have failed out of university years ago if it wasn't for people like you.
@gauravdalvi3504
@gauravdalvi3504 2 роки тому
I really like the pictorial representation of concepts.
@mentalview8703
@mentalview8703 Рік тому
He knows his stuff. Thanks, Jake 👏
@calochCN
@calochCN 4 роки тому
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.
@GizmosShop
@GizmosShop 2 роки тому
Why would anyone thumbs down this video!!!! good job Jake, you are so right
@mwont
@mwont Рік тому
The best vid about concurrency in go
@jhoemarP
@jhoemarP 2 роки тому
i should say, your really good at teaching. i can grasp it easily
@ionlyplaynude
@ionlyplaynude 5 років тому
Really nice video! One of the best explanations
@codingchalleges5532
@codingchalleges5532 4 роки тому
man, this is amazing tutorial
@maksymmryhlod3093
@maksymmryhlod3093 2 роки тому
Clear and useful explanation. Thank you!
@erisonveshi8406
@erisonveshi8406 2 роки тому
Some people are good teachers! Amazing Job!
@edsverdlin5496
@edsverdlin5496 4 роки тому
Brilliantly explained. Thank You.
@Yalchin403
@Yalchin403 2 роки тому
Beautifully explained. Thank you.
@dmitrydmitriev2554
@dmitrydmitriev2554 Рік тому
Very clear. Really understandable, very consistent explanation. Brilliant, amazing, great, cool, nice and super. Thank you.
@crusader_
@crusader_ Рік тому
Man answered all the questions I had from watching the other tutorials
@badreddinlabed530
@badreddinlabed530 3 роки тому
I didn't fully understand go concurrency until I found this video, thank u soo much.
@jamescameron8140
@jamescameron8140 2 роки тому
Thanks for this video. just started learning Go for work
@mohamedhafezqo
@mohamedhafezqo 4 роки тому
Thanks for your efforts, you are simplified it very well
@Excess-qn7qh
@Excess-qn7qh 2 роки тому
so clear and straight to the point ... thank you very much!
@swine_tech8014
@swine_tech8014 3 роки тому
I wanted to give you even 2 likes bro :) Thank you a lot for the explanation, which finally clarified the concept of channels and their use in go with all aspects for the newbies... Yeah!
@BrutusPalmeira
@BrutusPalmeira 4 роки тому
Nice... quick clean intro to go routines.
@Oswee
@Oswee 3 роки тому
This is simply a brilliant explanation! :)
@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.
@nikoladd
@nikoladd 4 роки тому
Pretty cool! I have no experience in Go, but the approach is somewhat similar in Rust and both are far clunkier then Erlang when it comes to concurrency constructs. Massive progress though in modern languages. I really like the relative simplicity(for a imperative language) of the tools available in Go. Both Rust and Erlang would be more efficient at actual paralellisation of the execution due to the extra constrains they take to remove side effects, but for most things (and competent planning) Go would be really close.
@elnapol
@elnapol 4 роки тому
Thanks for the video. At this moment I am trying to connect a raspberry pi with a hardword that has several actuators, and I am connecting through the serial ports, can I assign the write and read the channels to the communication?
@StyleTrick
@StyleTrick 5 років тому
Great video Jake, very informative =)!
@arcticspacefox864
@arcticspacefox864 5 років тому
Great video and so fast! Keep GOing :D
@joshuaward4725
@joshuaward4725 2 роки тому
This was amazingly helpful and exactly what I needed :) thank you so much!
@oliverperssonbogdanovski5763
@oliverperssonbogdanovski5763 Рік тому
Please more videos on Go, this is brilliant!
@navybloo
@navybloo 2 роки тому
This was so well done. Subscribed!
Learn Go in 12 Minutes
13:34
Jake Wright
Переглядів 938 тис.
Concurrency is not Parallelism by Rob Pike
31:22
gnbitcom
Переглядів 115 тис.
Лизка заплакала смотря видео котиков🙀😭
00:33
Goroutines Crash Course (Mutex, Channels, Wait Group, & More!)
15:42
The Rust Standard Library is SO Confusing...Until Now!
11:45
Travis Media
Переглядів 20 тис.
Go vs Rust: Which To Learn In 2024?
6:27
Kodaps Academy
Переглядів 121 тис.
Introduction to Concurrency (Concurrency in Go #1)
27:54
Steve Hook
Переглядів 29 тис.
The standard library now has all you need for advanced routing in Go.
13:52
Go Pointers: When & How To Use Them Efficiently
14:09
Anthony GG
Переглядів 59 тис.
Master Go Programming With These Concurrency Patterns (in 40 minutes)
46:15
Golang Tutorial for Beginners | Full Go Course
3:24:59
TechWorld with Nana
Переглядів 1,7 млн
ГНОМ на САМОКАТЕ скоро доездится 🤣
0:28
Hand Gravity
Переглядів 992 тис.
Вот это мощность 😱 #рекомендации #юмор
0:33
Шок Контент
Переглядів 2,6 млн
Наушники для улучшения вашего слуха
0:17
WB КОПАТЕЛЬ 2.0
Переглядів 4 млн
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
0:40
Слишком много порошка...
0:35
Это точно смешно
Переглядів 707 тис.