Practical Concurrency in Go - GoRoutines, Mutexes, Channels and more
sigfault
View ChannelAbout
I love programming in lots of different languages including Haskell, Golang, Rust, C/C++ and on this channel I make tutorials and code-along examples of all the mistakes that I make in learning them. Also, stay tuned for some AI and ML shenanigans!
Latest Posts
Video Description
#golang #coding #concurrency #threads #tutorial #programming In this video I give some examples of writing concurrent programs in Go, using an example of writing a simple Currency Exchange that fetches currency exchange rates. We start by running it with no concurrency, then we implement goroutines fetching in parallel and finally we create a worker pool of threads and channels to enqueue work and dequeue results coming back. Hope you enjoy it! This video's tutorial repo: https://github.com/sigrdrifa/go-concurrency The Currency API: https://github.com/fawazahmed0/exchange-api?tab=readme-ov-file My NVIM config: https://github.com/sigrdrifa/nvim
Upgrade Your Gear Now
AI-recommended products based on this video

koolehaoda L Shape Camera Bracket, Video Vertical Shooting Quick Release Plate L Stand Arca Swiss Compatible for Tripod Head Ballhead DSLR Camera

TERRAMASTER F8 SSD Plus NAS - 8Bay All SSD NAS Storage Core i3 8-Core 8-Thread CPU, 16GB DDR5 RAM, 10GbE Port, 8 Heat Sinks Included, Palm-Sized Network Attached Storage Peak Performance (Diskless)

ZDZA Electric Bike, 1000W Peak Motor, 26” Electric Mountain Bike, 35km/h &65 km Max Range Ebike for Adults, Electric Bicycle for Commute, Colorful LCD Display & 7 Speed

SmallRig ZV-E1 Camera Baseplate for Sony ZV-E1, Built-in Cold Shoe Mount and QR Plate (for Arca) Quick Switch Between Tripod and Stabilizer for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro - 4314

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338



