Concurrency in Go

  Рет қаралды 611,191

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

Пікірлер: 504
@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 Жыл бұрын
isnt the last one just multi threading?
@darrensapalo
@darrensapalo 4 жыл бұрын
1:35 "And then I'm gonna sleep for half a second" Me at night
@AndrewRusinas
@AndrewRusinas 3 жыл бұрын
hahahahahaha
@zuggrr
@zuggrr 3 жыл бұрын
2:05 "So it will just do that until I kill it" Dwight Schrute with his chickens
@abhijithota6454
@abhijithota6454 2 жыл бұрын
Bro I was going to comment "Every college student ever" on the same thing.
@sujoyan
@sujoyan 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 4 ай бұрын
yeah it's crazy, you even get a taste of what the halting problem is, completely unsolicited
@romanmunar
@romanmunar 4 жыл бұрын
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.
@faqs-answered
@faqs-answered 8 ай бұрын
Extremely easy way to convey the concepts. No wonder why KZfaq shows up at the top, despite its small size.
@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!
@Andrei_Bush
@Andrei_Bush 25 күн бұрын
At first, I didn't understand it at all, but after a one repetetion, it become crystal clear! Thank you, Jake.
@sujay4237
@sujay4237 6 ай бұрын
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 Жыл бұрын
The illustration at 8:13 is the clearest explanation that I've ever seen
@GuitarDhyana
@GuitarDhyana 5 жыл бұрын
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.
@DiegoTerzano
@DiegoTerzano 3 жыл бұрын
Thanks Jake. Great introduction, all the relevant concepts of concurrency explained in simple terms with illustrative examples. Thank you very much!
@BernhardHofmann
@BernhardHofmann 5 жыл бұрын
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. 💚
@Pharoah2
@Pharoah2 4 жыл бұрын
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.
@gnanakumar1992
@gnanakumar1992 3 жыл бұрын
No one explained this simple for go lang in any KZfaq channels. Thanks for the great work.
@nikunj204
@nikunj204 6 жыл бұрын
I must say this is a short but very concise intro to concurrency in go. I liked it.
@burkaypehlivan5428
@burkaypehlivan5428 4 жыл бұрын
this is by far the best tutorial about concurrency in go. thanks man, keep up the good work!
@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!
@salix_qmeou
@salix_qmeou 3 жыл бұрын
your videos is amazing! Really clean and precise, it's everything that a programmer want from tutorials
@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.
@DieguitoJohnson
@DieguitoJohnson 5 жыл бұрын
This is an amazing lesson. please do more Go 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.
@jan5310
@jan5310 Жыл бұрын
What a great short and to the point introduction to Go concurrency. Great examples. Thanks!
@figloalds
@figloalds 4 жыл бұрын
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.
@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
@deathdogg0
@deathdogg0 Жыл бұрын
Some of the absolute best Go content on youtube. Thank you!
@jaubaa
@jaubaa 4 жыл бұрын
Thanks! This was just what I needed to wrap my head around the subject 👌
@naikrovek
@naikrovek Жыл бұрын
this is the best overview of goroutines and channels that i have ever seen. well done.
@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.
@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.
@anu8928
@anu8928 2 жыл бұрын
Finally a video which explains it all in simple understandable words! Thank you!!😃
@everdrone97
@everdrone97 Жыл бұрын
By far the best practical explanation of go routines, love it
@darshanshah6525
@darshanshah6525 3 жыл бұрын
This is the best explanation I've found till now, thanks!
@king_and_country
@king_and_country 2 жыл бұрын
This was the best explanation and illustration I've seen yet. Thank you!
@jukkanikki3395
@jukkanikki3395 2 жыл бұрын
Thanks. Well described. I was pleasantly suprised that Go has such a nice and compact syntax for concurrency stuff.
@tennhard
@tennhard 3 жыл бұрын
This was a great, to the point explanation of concurrency in Go. Very helpful!
@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
@sbera87
@sbera87 4 ай бұрын
This is brilliant.. Haven't ever seen such a packed yet clear video tutorial. Great work buddy
@et4493
@et4493 10 ай бұрын
Absolute champion. Literally one of the best videos about programming I've ever seen. Thank you very, very much
@Someone-uo8jc
@Someone-uo8jc 2 жыл бұрын
Perfect explanation of concurrency in Go. The best I've found on KZfaq 👍
@maximilianomonge5852
@maximilianomonge5852 4 жыл бұрын
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 :)
@JannisAdmek
@JannisAdmek 2 жыл бұрын
This explanation is so clear and to the point, thank you!
@bikhoda6508
@bikhoda6508 5 жыл бұрын
You are a great tutor Jake. Well done!
@NiceGuy1811
@NiceGuy1811 3 жыл бұрын
Beautifully explained! Thanks a ton for such a lucid explanation!
@abhinalech
@abhinalech 5 жыл бұрын
The best explanation about goroutines and channels. Good job dude. 👍
@cristianchavez5674
@cristianchavez5674 3 жыл бұрын
Best video ever to understand go concurrency. Thanks !!
@erwinveenhoven7446
@erwinveenhoven7446 4 ай бұрын
This is honestly such an amazing tutorial. Great job!
@igary
@igary 5 жыл бұрын
Loved this video, I finally understand this
@jojojawjaw
@jojojawjaw 2 жыл бұрын
Such a great tutorial! So clear and expressive, thank you so much
@MrPatrickCorrigan
@MrPatrickCorrigan 6 жыл бұрын
What a great video. Very well explained. Make more Jake.
@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.
@OnePunchSaga
@OnePunchSaga 3 жыл бұрын
One of the most amazing GO tutorials. WOW!! man
@stevekamga5977
@stevekamga5977 3 жыл бұрын
By far the best tutorial about Go Concurrency, THANK YOU
@jayachandranp3678
@jayachandranp3678 4 жыл бұрын
This is really an awesome introduction to Go.. Thanks Jake..
@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.
@TANVEER991164
@TANVEER991164 2 жыл бұрын
lucidly explained a seemingly complex topic. Thank you
@andreamarmor4929
@andreamarmor4929 5 жыл бұрын
U explain your self really good. Thank u so much for the content.
@syw4049
@syw4049 3 жыл бұрын
This is the best demonstration Iǘe seen in go channel. Thanks!
@Lorofol
@Lorofol Ай бұрын
The anonymous goroutine wrapper function at 5:10 is exactly the structure my brain was telling me to make, where I already had multiple "complex" synchronous functions that I wanted to simply leave up to the implementor to decide when to make it run in another goroutine.
@licokr
@licokr Жыл бұрын
Wow, I got impressed how you explained very easily you got the point really well. Thank you!
@Excess-qn7qh
@Excess-qn7qh 2 жыл бұрын
so clear and straight to the point ... thank you very much!
@LouieZhangChannel
@LouieZhangChannel 2 жыл бұрын
Really like your examples, easy to follow! 非常推荐!
@jeremytweedie1452
@jeremytweedie1452 3 жыл бұрын
A very good explanation indeed! Will definitely watch all of your other videos
@gurunathaprasad
@gurunathaprasad 3 жыл бұрын
This is GOLD.. Thanks a lot Jake
@guillermosanchezdionis9475
@guillermosanchezdionis9475 3 жыл бұрын
Man, this tutorial is brilliant. Congrats!
@Timbo101001
@Timbo101001 5 ай бұрын
Probably the best explanation I've seen yet, nice one 👍
@KanishkaDilshan
@KanishkaDilshan 6 жыл бұрын
Very informative and easy to understand! Great demonstration!!!
@RajiMalik-xh8jg
@RajiMalik-xh8jg Ай бұрын
Thank you for such a short and clear video
@swine_tech8014
@swine_tech8014 4 жыл бұрын
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!
@jamescameron8140
@jamescameron8140 2 жыл бұрын
Thanks for this video. just started learning Go for work
@jxiuh.861
@jxiuh.861 Жыл бұрын
best go concurrency video so far on youtube
@VeneraVarbanova
@VeneraVarbanova 2 жыл бұрын
Very good video, clear explanations, great examples! Thank you!
@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.
@crusader_
@crusader_ Жыл бұрын
Man answered all the questions I had from watching the other tutorials
@dmitrydmitriev2554
@dmitrydmitriev2554 Жыл бұрын
Very clear. Really understandable, very consistent explanation. Brilliant, amazing, great, cool, nice and super. Thank you.
@simbelmyne0216
@simbelmyne0216 Жыл бұрын
Thank you so much for this video, we are trying to optimize our worker concurrency and this is exactly what I need
@anuragbisht1200
@anuragbisht1200 Жыл бұрын
you have great understanding of the language and thanks for the tuts.
@badreddinlabed530
@badreddinlabed530 3 жыл бұрын
I didn't fully understand go concurrency until I found this video, thank u soo much.
@Lyrik-Klinge
@Lyrik-Klinge 3 жыл бұрын
Learning English I have to say that your pronunciation is very clear and soft.
@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.
@erisonveshi8406
@erisonveshi8406 2 жыл бұрын
Some people are good teachers! Amazing Job!
@mhkubaid
@mhkubaid 3 жыл бұрын
Easy explanation with brilliantly organized examples!!
@ionlyplaynude
@ionlyplaynude 6 жыл бұрын
Really nice video! One of the best explanations
@linus.
@linus. 2 жыл бұрын
Wow those channels are awesome. Way better than waiting for promises to resolve in js
@vineethp3644
@vineethp3644 3 жыл бұрын
Really simple and amazing tutorial. Thanks !!
@jhoemarP
@jhoemarP 3 жыл бұрын
i should say, your really good at teaching. i can grasp it easily
@gauravdalvi3504
@gauravdalvi3504 3 жыл бұрын
I really like the pictorial representation of concepts.
@rGunti
@rGunti 3 жыл бұрын
Really nice! I feel like I know how to use Concurrency in Go now. Thanks for this great video :D
@GizmosShop
@GizmosShop 3 жыл бұрын
Why would anyone thumbs down this video!!!! good job Jake, you are so right
@rahil_rehan
@rahil_rehan 4 жыл бұрын
Best tutorial on concurrency ever.
@mentalview8703
@mentalview8703 2 жыл бұрын
He knows his stuff. Thanks, Jake 👏
@pupdoggify
@pupdoggify Жыл бұрын
You are a very good teacher!!! Thank you 🙏
@soulfulman4834
@soulfulman4834 Жыл бұрын
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 ✌️
@joshuaward4725
@joshuaward4725 3 жыл бұрын
This was amazingly helpful and exactly what I needed :) thank you so much!
@mwont
@mwont Жыл бұрын
The best vid about concurrency in go
@adaw9
@adaw9 2 жыл бұрын
truly amazing lessons.. thanks
@benaya6
@benaya6 2 жыл бұрын
thank you! clear and simple.
@TheR971
@TheR971 6 жыл бұрын
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 4 жыл бұрын
@@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...
@oliverperssonbogdanovski5763
@oliverperssonbogdanovski5763 2 жыл бұрын
Please more videos on Go, this is brilliant!
Learn Go in 12 Minutes
13:34
Jake Wright
Рет қаралды 943 М.
Learn Docker in 12 Minutes 🐳
12:01
Jake Wright
Рет қаралды 2,1 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 36 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4,7 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 35 МЛН
Pushing Limits | A Math-Talk Show | Episode 1 | Viru Vikash | Amogh | Gowri
1:09:08
Goroutines Crash Course (Mutex, Channels, Wait Group, & More!)
15:42
Concurrency is not Parallelism by Rob Pike
31:22
gnbitcom
Рет қаралды 126 М.
A Week in the Life of a Monzo Developer #1
11:40
Jake Wright
Рет қаралды 414 М.
Introduction to Concurrency (Concurrency in Go #1)
27:54
Steve Hook
Рет қаралды 30 М.
The standard library now has all you need for advanced routing in Go.
13:52
Concurrency Vs Parallelism!
4:13
ByteByteGo
Рет қаралды 68 М.
Water powered timers hidden in public restrooms
13:12
Steve Mould
Рет қаралды 670 М.
HTMX & Go with ThePrimeagen | Preview
15:58
Frontend Masters
Рет қаралды 150 М.
GopherCon 2017: Kavya Joshi - Understanding Channels
21:45
Gopher Academy
Рет қаралды 114 М.
哈哈这些娃娃可烦人了!#火影忍者 #佐助 #家庭
0:31
火影忍者一家
Рет қаралды 33 МЛН
Пёс - Парашютист 😍
0:42
ДоброShorts
Рет қаралды 1,6 МЛН
A teacher captured the cutest moment at the nursery #shorts
0:33
Fabiosa Stories
Рет қаралды 52 МЛН
САКЕНДІ ҚАТЫНЫ ҚЫЗҒАНЫП ҚАЛДЫ
0:31
Ән - көңілдің ажары.
Рет қаралды 223 М.
Сделала Сюрприз Брату После 3 лет Разлуки ❤️
0:26
Глеб Рандалайнен
Рет қаралды 2,2 МЛН