Welcome to Learning at Lambert Labs session #23. This week, Tom discusses how to write concurrent code in Go (also known as Golang), giving examples of various language features such as goroutines, channels and mutexes, and points out some common pitfalls to avoid when using these tools.
In today's Learning session:
An overview of the Go programming language
An introduction to concurrent programming
How to write concurrent programs in Go
Video timestamps:
0:00 Introduction
0:27 Intro to Go
2:09 Hello, world!
4:06 Use cases of Go
5:17 Comparison to Python: Advantages
7:45 Comparison to Python: Disadvantages
9:18 Goroutines
10:55 Waitgroups
13:01 Channels
16:41 Select statement
20:23 Buffered channels
22:49 Mutexes
Learn more about some of our client work here: https://lambertlabs.com/portfolio/
🔊 Subscribe to our channel for weekly learning sessions! / @lambertlabs
🔗 Lambert Labs Links 🔗 :
🌎 Website: https://lambertlabs.com/
📱 Twitter: / lambertlabs
📝 LinkedIn: / lambertlabs
📂 GitHub: https://github.com/lambertlabs/
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
Go
Golang
Concurrency
Parallelism
Software Engineering