Converted one of my shell aliases to Golang, just to use goroutines. It is a lot faster than using GNU parallel.
I run this daily on a directory where I have to pull around 30 git repositories.
https://njoseph.me/gitweb/goutils.git/blob/HEAD:/utils/git_pull_all.go
Decided to put multiple utils into the same binary since the min binary size is 4MB.
It is currently at 4.5MB since I used an external CLI library. 😮
This recent GeekNight talk from ThoughtWorks Gurgaon has finally helped me understand Goroutines.
https://www.youtube.com/watch?v=1aaNZNdwd2Y
#ThoughtWorks #GeekNight #Goroutines #Golang #Concurrency #Parallelism
#ThoughtWorks #geeknight #Goroutines #golang #concurrency #Parallelism