Why are my Go executable files so large? Size visualization of Go executables using D3 by @email@example.com #GoLang #D3 https://science.raphael.poss.name/go-executable-size-visualization-with-d3.html
@blainsmith I built a static version of my Go program ... the binary was smaller than the dynamic linked one ...
@yojimbo Cool. What was the program?
@blainsmith A reasonably simple bot for Discord, that checks the currently-playing track from an AirTime streaming audio server, and updates a _now-playing_ message on various servers. Maintains the last 5 tracks, so people have a different method to figure out what they were listening to a few minutes ago.
It was a project for me to learn some Go, and benefits from a light level of concurrency. Would have been a linear program if I'd written it in some other language I expect.
External dependencies are minimal, discordgo is basically all. https://gitlab.com/yjmbo/aprobot
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!