Hacker News new | ask | show | jobs
by api 821 days ago
This is because Go bundles a big runtime in every binary.
1 comments

Is there a way to not do that?
You can also write allocation free Go, by computing everything on the stack. (Use pprof tool to analyze your code's allocations)

If you want smaller binaries without a runtime or GC bundled, you can try out tinygo [1]

[1] https://github.com/tinygo-org/tinygo