Rebuild saltbot completely in golang
Created by: HighSaltLevels
What/Why
I found golang to be much more performant, and I found some neat tricks with the embedding that allowed me to send cleaner messages like with the waifu command. I have a couple written a couple of issues to track what I want to do next, but I figured I'd just go ahead with what I've done so far.
Size decreases
I recombined saltbot and messenger back into a single image because messenger can just be its own goroutine.
Size in Python:
-
saltbot: 234 MB -
messenger: 232 MB
And after merging and writing in golang, the saltbot image is now just 36.6 MB. Taking the sum of both old saltbot and old messenger, this was a decrease in size of 92%! Not to mention the performance benefits of using golang over python.