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

  Рет қаралды 162,826

Kantan Coding

Kantan Coding

Күн бұрын

🌟 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

Пікірлер: 425
@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 Жыл бұрын
Fantastic. It is extremely rare to come across this level of concise and easy to follow explanation.
@kantancoding
@kantancoding Жыл бұрын
Thank you! 🙂
@Aljosja90
@Aljosja90 Жыл бұрын
Incredibly clear explanation, by far the best on YT. Thanks a lot for all the effort!
@kantancoding
@kantancoding Жыл бұрын
Thank you! That means a lot 😊
@meditationdanny701
@meditationdanny701 2 жыл бұрын
Hey man worth waiting keep posting such a quality content
@kantancoding
@kantancoding 2 жыл бұрын
Thanks bro! Glad you think so 🙂
@guventmz
@guventmz 10 ай бұрын
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 10 ай бұрын
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! 😊
@akmzahidulislam2764
@akmzahidulislam2764 Жыл бұрын
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 🙂
@hary6416
@hary6416 Жыл бұрын
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!
@omarcrosby
@omarcrosby 9 ай бұрын
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 🚀
@taylormonacelli
@taylormonacelli 9 ай бұрын
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 😊
@ajinkya-wasnik
@ajinkya-wasnik 7 ай бұрын
Soothing sound along soothing Explanation, just perfect.
@davidcopenhaver5583
@davidcopenhaver5583 Жыл бұрын
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 Жыл бұрын
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
@paulina5247
@paulina5247 Жыл бұрын
Definitely the best video about concurrency in go I've seen so far! 🤩
@kantancoding
@kantancoding Жыл бұрын
Thank you! I’m happy that it was helpful 😊
@smartsome1356
@smartsome1356 10 ай бұрын
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 10 ай бұрын
Thank you! I’m really happy that it helped 😊
@omarcrosby
@omarcrosby 9 ай бұрын
agreed, my mind was blown as well
@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 🙂
@MeranoFox
@MeranoFox Жыл бұрын
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 🙂
@BanibrataDutta
@BanibrataDutta Жыл бұрын
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 🙂
@aseelsaghir8078
@aseelsaghir8078 Жыл бұрын
Well explained! Watched many Go Concurrency videos but this is the best one.
@kantancoding
@kantancoding Жыл бұрын
Glad you liked it!
@adityapratama3296
@adityapratama3296 Жыл бұрын
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 🙂
@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 Жыл бұрын
I’m happy to hear that! Thank you 😊
@dangis2400
@dangis2400 Жыл бұрын
thank you. the principle of pipelines is great and your explanation is simple enough for newbies to understand.
@kantancoding
@kantancoding Жыл бұрын
Thank you for your kind words! I’m glad you enjoyed it 😊
@niteenautade
@niteenautade Жыл бұрын
The best concurrency video I have watched so far! Good work!
@kantancoding
@kantancoding Жыл бұрын
Wow, thanks! Happy to help 🙂
@cod3a
@cod3a Жыл бұрын
thanks for the video bro, love the way you teach ❤️
@kantancoding
@kantancoding Жыл бұрын
Thank you bro! I’m happy to help 🙂
@kurshadqaya1684
@kurshadqaya1684 4 ай бұрын
Learned Go in 2017. Never understood them until now. Thank you!
@kantancoding
@kantancoding 4 ай бұрын
Happy to help!
@constantinci
@constantinci 9 ай бұрын
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 9 ай бұрын
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 ❤️
@casper64
@casper64 Жыл бұрын
Amazing video just what I was looking for!
@kantancoding
@kantancoding Жыл бұрын
Thank you! Happy to help 🙂
@zendr0
@zendr0 Жыл бұрын
Nice. Thank you for this.
@nanateinumondestanley7819
@nanateinumondestanley7819 3 ай бұрын
I'm glad I came across this tutorial.
@kantancoding
@kantancoding 3 ай бұрын
Happy to help! Thanks for watching 😊
@GamingGuruHQ
@GamingGuruHQ 9 ай бұрын
Extremely clear explanation on concurrency . Keep up the good work.
@kantancoding
@kantancoding 9 ай бұрын
Thank you! I’m happy to help 😊
@rishirajrao5337
@rishirajrao5337 Ай бұрын
Great tutorial Brother. Got clarity in concurrency pattern. Thanks!
@kantancoding
@kantancoding Ай бұрын
Awesome bro! I’m glad that it helped you find clarity 😊
@malaypatel4014
@malaypatel4014 6 ай бұрын
one of the best video. you explain stuff very well
@kantancoding
@kantancoding 6 ай бұрын
Thank you! I’m glad it helped 😊
@yashkalavadiya5021
@yashkalavadiya5021 2 жыл бұрын
This video helped me a lot to clear my doubts. Thanks
@kantancoding
@kantancoding 2 жыл бұрын
That’s great to hear. Thank you 🙏
@bhaveshmuleva2352
@bhaveshmuleva2352 10 ай бұрын
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 😊
@nikitakurabtsev1222
@nikitakurabtsev1222 21 күн бұрын
This is the gem. Thanks
@kantancoding
@kantancoding 21 күн бұрын
Thank you 😊
@amanchaudhary101
@amanchaudhary101 11 ай бұрын
You're taking over👍
@kantancoding
@kantancoding 11 ай бұрын
Thanks to you all supporting 😊
@raianmr2843
@raianmr2843 Жыл бұрын
this tutorial/guide has more personality than the entire cast of friends
@kantancoding
@kantancoding Жыл бұрын
Lol I’m not sure if this is sarcastic or not but thanks 😂
@AntonyMapfumo
@AntonyMapfumo Жыл бұрын
Thank for you. You've just got yourself another subscriber.
@kantancoding
@kantancoding Жыл бұрын
Thank you 😊
@isurucumaranathunga
@isurucumaranathunga Ай бұрын
This is like gold, thanks a lot for this valuable content
@kantancoding
@kantancoding Ай бұрын
Thank you for supporting! 🙂
@amitnakash1642
@amitnakash1642 2 ай бұрын
great video mate!
@kantancoding
@kantancoding 2 ай бұрын
Thanks! I’m glad it was helpful 😊
@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 9 ай бұрын
Thanks kantan, coincidentally yours video help me to solve Producer-consumer problem.
@kantancoding
@kantancoding 9 ай бұрын
😂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! ❤️
@VictorYarema
@VictorYarema 11 ай бұрын
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 11 ай бұрын
Thanks for the feedback! I’m glad it was helpful 😊
@gitgyan5202
@gitgyan5202 2 жыл бұрын
The way you explained made it look so easy bro👏.
@kantancoding
@kantancoding 2 жыл бұрын
That’s great bro. I’m glad the explanation worked for you 😄
@invisibleinvisible83
@invisibleinvisible83 8 ай бұрын
Thank you so much for your video 🙏🏻🌹
@kantancoding
@kantancoding 8 ай бұрын
My pleasure! Happy to help 🙂
@subharthihazra7764
@subharthihazra7764 Ай бұрын
Wow such a nice explaination .. loved it.
@kantancoding
@kantancoding Ай бұрын
Thanks a lot 😊
@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 🙂
@buntysingh7315
@buntysingh7315 2 жыл бұрын
wonderful explanation thankyou!!
@kantancoding
@kantancoding 2 жыл бұрын
No problem 😌 thank you 😊
@badrbadr3793
@badrbadr3793 Жыл бұрын
Thank you and thanks to youtube algo for this recommendation
@kantancoding
@kantancoding Жыл бұрын
😂 happy that it found you! Thank you 🙂
@theophiluseniayewu6270
@theophiluseniayewu6270 Жыл бұрын
Incredibly easy to understand.....Thanks alot
@kantancoding
@kantancoding Жыл бұрын
Awesome! Happy to help 😊
@itmemo8617
@itmemo8617 8 ай бұрын
Liked and subscribed i dont think ill regret it !
@kantancoding
@kantancoding 7 ай бұрын
Thank you 😊
@natashaporwal2481
@natashaporwal2481 9 ай бұрын
great explanation, please make more of this!
@kantancoding
@kantancoding 9 ай бұрын
Thank you! More videos coming soon 🙂
@Nexjsdeveloper
@Nexjsdeveloper Жыл бұрын
Very clear tutorial, perfect.
@kantancoding
@kantancoding Жыл бұрын
Thank you! I’m glad it was helpful 🙂
@ilariacorda
@ilariacorda 4 ай бұрын
the suspense music is so spot on aha Great tutorial, fab
@kantancoding
@kantancoding 4 ай бұрын
😂 thank 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
@Chetansinh_chauhan6419
@Chetansinh_chauhan6419 Жыл бұрын
Amazing just love to learn in your way....god bless you...🙏
@kantancoding
@kantancoding Жыл бұрын
Thank you so much 😀
@WallyBarnum
@WallyBarnum 11 ай бұрын
Great explanation. Thank you.
@kantancoding
@kantancoding 11 ай бұрын
Thank you! Happy to help 😊
@proudmoroccan8164
@proudmoroccan8164 8 ай бұрын
Great stuff, thank you for sharing.
@kantancoding
@kantancoding 7 ай бұрын
Happy to help 😊 thanks for watching!
@LBCreateSpace
@LBCreateSpace Ай бұрын
Very clear. Thank you!
@kantancoding
@kantancoding Ай бұрын
No problem! Thanks for watching
@fyka
@fyka 2 ай бұрын
lovely!
@unnaturalatrophy5377
@unnaturalatrophy5377 Жыл бұрын
This video finally cleared goroutine and channel for me. Watched so many videos prior to it hut was confused as hell.
@kantancoding
@kantancoding Жыл бұрын
😂🤣 I’m really happy to hear that. With go routines and channels under your belt, you can now take full advantage of the language 🚀
@veronez9846
@veronez9846 3 ай бұрын
best video to explain how goroutins work. nice!
@kantancoding
@kantancoding 3 ай бұрын
Thanks for watching 😊
@nikhilsrivastava9120
@nikhilsrivastava9120 9 ай бұрын
you are amazing teacher, the best !!
@kantancoding
@kantancoding 9 ай бұрын
Thank you! I’m really glad it helped 😊
@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 7 ай бұрын
That’s awesome! No language is perfect but I hope that you’ll come to enjoy this one as much as I have 😆
@VijayRaj-ij4on
@VijayRaj-ij4on 7 ай бұрын
Thanks for making this.
@kantancoding
@kantancoding 6 ай бұрын
My pleasure. Thanks for watching 🙂
@systemforge
@systemforge Жыл бұрын
Fantastic!
@kantancoding
@kantancoding Жыл бұрын
Thank you! I’m happy to help 🙂
@iarbainaltainvantdevara
@iarbainaltainvantdevara 7 ай бұрын
As a newcomer to the world of Golang and goroutines, I loved every second of this video!
@kantancoding
@kantancoding 7 ай бұрын
That’s great! I hope more people take up this great language! Thanks for watching my video 😊
@RogerDemetrescu
@RogerDemetrescu Жыл бұрын
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 Жыл бұрын
@@kantancoding please never ever use that background music
@kevinz1991
@kevinz1991 Ай бұрын
fantastic video thanks so much
@kantancoding
@kantancoding Ай бұрын
Thank you! Happy to help ☺️
@nsgirish
@nsgirish 4 ай бұрын
Excellent explaination. Thanks sir🎉
@kantancoding
@kantancoding 4 ай бұрын
Thanks for watching! Happy to help 😊
@theprolifeclub
@theprolifeclub 7 ай бұрын
One of the beat very helpful ❤
@kantancoding
@kantancoding 6 ай бұрын
Thank you 😊
@dixztube
@dixztube 26 күн бұрын
Great video that was very easy to understand
@kantancoding
@kantancoding 22 күн бұрын
Glad it helped! And thank you 😊
@ericwang8760
@ericwang8760 Жыл бұрын
Thanks for your video.😃
@kantancoding
@kantancoding Жыл бұрын
No problem! Happy to help 🙂
@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 🙂
@nitishagrahari9943
@nitishagrahari9943 10 ай бұрын
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 🙂
@dontry1812
@dontry1812 Жыл бұрын
Great work!
@kantancoding
@kantancoding Жыл бұрын
Thank you 😊
@hamzazahidulislam3490
@hamzazahidulislam3490 2 ай бұрын
Thanks ❤
@nirajgupta458
@nirajgupta458 11 ай бұрын
Best tutorial I found
@kantancoding
@kantancoding 11 ай бұрын
Thank you! Happy to help 😊
@tyronemguni3895
@tyronemguni3895 Жыл бұрын
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 🙏
@stefanababio6974
@stefanababio6974 Жыл бұрын
Very impressed. More videos please
@kantancoding
@kantancoding Жыл бұрын
Thank you. Happy to hear! 😉
@dhaw
@dhaw Жыл бұрын
This is Amazing !!!
@kantancoding
@kantancoding Жыл бұрын
Thank you! It means a lot 🥲
@alessandroferrari2166
@alessandroferrari2166 2 жыл бұрын
👏🏼👏🏼 subscribed and bell on
@kantancoding
@kantancoding Жыл бұрын
Awesome! Glad you enjoyed 🙂
@Bleyo
@Bleyo 11 ай бұрын
amazing content
@kantancoding
@kantancoding 11 ай бұрын
Thank you! 😊
@alihejazi6345
@alihejazi6345 Жыл бұрын
Awesome tutorial ❤
@kantancoding
@kantancoding Жыл бұрын
Thank you 😊 I’m glad it helped!
@politeboy2996
@politeboy2996 Жыл бұрын
God bless you, do more for us if possible.
@kantancoding
@kantancoding Жыл бұрын
Thank you 🙂 I will definitely try to do more 🚀
@AliAshour-ww9ox
@AliAshour-ww9ox Жыл бұрын
great tutorial , thank you
@kantancoding
@kantancoding Жыл бұрын
My pleasure. Thank you 🙂
@marpaxr3986
@marpaxr3986 Жыл бұрын
Cool!👍
@JoaoPedroCBoell
@JoaoPedroCBoell Ай бұрын
very nice! thx
@kantancoding
@kantancoding Ай бұрын
No problem 😉
@lautaroblasco6852
@lautaroblasco6852 Жыл бұрын
Great video
@kantancoding
@kantancoding Жыл бұрын
Thanks for the visit!
@aliadel1723
@aliadel1723 10 ай бұрын
Keep Going Bro ♥
@kantancoding
@kantancoding 10 ай бұрын
Thanks for the encouragement brother ❤️
@baleshj
@baleshj Жыл бұрын
Long time subscriber Your videos never disappoint me
@kantancoding
@kantancoding Жыл бұрын
Happy to see people sticking around. Thank you for your support! 😊
@linwei2906
@linwei2906 Жыл бұрын
good job ! body! god bless U😃
@kantancoding
@kantancoding Жыл бұрын
❤️
@vincent3542
@vincent3542 8 ай бұрын
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!!
@kantancoding
@kantancoding 7 ай бұрын
Hey! Welcome and thanks for supporting bro. I’m happy that the videos have been helpful! 😀
@Kavinnathcse
@Kavinnathcse 9 ай бұрын
Great tutorial ..
@kantancoding
@kantancoding 9 ай бұрын
Thank you 😊
@jondoe79
@jondoe79 Жыл бұрын
Your tutorials so addictive, We want MORE!
@kantancoding
@kantancoding Жыл бұрын
Thank you 😊 Is there any topic in particular that you’re interested in?
@mailman2097
@mailman2097 2 күн бұрын
very nice and simple explanation on channels..
@hereallyfast
@hereallyfast Жыл бұрын
Best explanation
@stardriver8660
@stardriver8660 Жыл бұрын
The best Golang teacher on KZbin literally
@kantancoding
@kantancoding Жыл бұрын
Hey thank you 😊 I’m happy to hear that it helps 🚀🙂
@Nicholascarballo
@Nicholascarballo Жыл бұрын
Do you plan to continue making videos about Go? I really enjoyed your explanation and the background music hit the right cord 👌🏻
@kantancoding
@kantancoding Жыл бұрын
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 👍
@SeanLazer
@SeanLazer 3 ай бұрын
Really struggling to focus on your voice and not the background music but the comments all say what an essential video this is so I'll keep trying. I hope you'll consider dropping the background music in future videos.
@kantancoding
@kantancoding 3 ай бұрын
Yeah, I’ve received many complaints about it already so the rest of the videos in the series I have dropped the music. Unfortunately it can’t be removed retroactively. I hope that you can get through it!
@SeanLazer
@SeanLazer 3 ай бұрын
Thanks! I did and it was super worth it
@mementomori8856
@mementomori8856 8 ай бұрын
I GET IT NOW! thanks lol
@kantancoding
@kantancoding 8 ай бұрын
Happy to help! 🚀
@wimhuizinga
@wimhuizinga Жыл бұрын
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 Жыл бұрын
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!
Improve Go Concurrency Performance With This Pattern
34:16
Kantan Coding
Рет қаралды 10 М.
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 32 МЛН
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 95 М.
Goroutines Crash Course (Mutex, Channels, Wait Group, & More!)
15:42
Ben Davis - Tech
Рет қаралды 17 М.
I'm Coming Around To Go...
21:33
Theo - t3․gg
Рет қаралды 101 М.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 252 М.
Concurrency is not Parallelism by Rob Pike
31:22
gnbitcom
Рет қаралды 122 М.
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 795 М.
The standard library now has all you need for advanced routing in Go.
13:52
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 368 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 6 МЛН