qaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year ago-Wall ain't alllemmy.worldimagemessage-square26fedilinkarrow-up1336arrow-down114
arrow-up1322arrow-down1image-Wall ain't alllemmy.worldqaz@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square26fedilink
minus-squareqaz@lemmy.worldOPlinkfedilinkarrow-up3·1 year agoI just tested it and a simple hello world program still produces a 1.7MiB binary, while the device only has 512KiB of RAM. package main import "fmt" func main() { fmt.Println("hello world") }
minus-squarepipe01@lemmy.pipe01.netlinkfedilinkarrow-up3·1 year agoStrip the debug info, should be a lot smaller. Also check out TinyGo, it’s meant for embedded devices
I just tested it and a simple hello world program still produces a 1.7MiB binary, while the device only has 512KiB of RAM.
package main import "fmt" func main() { fmt.Println("hello world") }
Strip the debug info, should be a lot smaller. Also check out TinyGo, it’s meant for embedded devices