Перейти к содержимому

Golang concurrency part II, Buffered channels, Semaphore, in animations

ParsaTube

0:00 / 0:00

Golang concurrency part II, Buffered channels, Semaphore, in animations

1 543 просмотра · 10 месяцев назад
ParsaTube
600 подписчиков
1 543 просмотра · 10 месяцев назад
🟢 Well one of the main feature of Golang ( and probably the most important one ) is its way to concurrent programming. In the last video we talked about the basics of concurrency and in this video we go a little bit further to unbuffered channels and some other features like close and range. At last we create a Semaphore using what we've learned in this video about Golang and software engineering! Link to codes: https://github.com/parsaeisa/parsatub... If there is any questions drop it down in the comments. Other related videos:    • Golang Concurrency, Channels, Goroutines, ...      • Golang Pointer, Deep dive into Memory Allo...      • ERRORS in Golang ?? EVERYTHING I know abou...      • ERRORS in Golang ?? EVERYTHING I know abou...   ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ 0:00 - What are going to do with Golang in this video? 0:40 - What is Buffer in software engineering? 1:49 - A recap on concurrency basics in Golang 2:44 - First example of buffered channels, live coding 4:56 - How Goroutines behave in two scenarios, Animation 5:54 - Blocking system of buffered channels 6:29 - Order of messages in a buffered channel 7:03 - Do channels get closed? How should we do it? 11:17 - Tokens, Practical example, Semaphore, Worker pool 15:21 - My other videos about Golang for anyone new! 15:36 - Outro ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Gear: Mic: Shure SM7B - https://amzn.to/4kUN4s0 Audio interface: Focusrite, Scarlett Solo 3rd Gen - https://amzn.to/4kO1qKE Chair: https://amzn.to/4mSphuz Softbox: Raleno Sofbox Photography Lighting Kit - https://amzn.to/4kT0Uev ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Enjoyed the video? Hit that like button, subscribe, and explore my channel for more expert tips and tricks!:    / @parsatubee   ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Want to level up, land your dream job, or study at top universities? I’ve got you covered! From tips to insights, I’ll share everything you need for the journey ahead! ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Check out my Instagram for my routine life: https://www.instagram.com/parsa_tube?... Check out my Discord server, where we can talk to each other:   / discord   ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ On this channel, I share my journey as a computer engineering student and software engineer—everything I’ve learned about software development, leveling up my career, and more!