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
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!