|
|
|
|
|
by kortex
1885 days ago
|
|
At least for CLI-tool-sorta-programs, I find Rust and Go emit vaguely similar sized binaries, a few Mb is typical. The biggest cause is of course static linking. However, once you exceed the 10-20Mb regime, I seem to find more 20-200Mb Go bins in the wild. This can be misleading, since the Go world is a fan of packing assets into binaries, eg for web GUIs. What dings Go bins on init time is the Go runtime. Still, it's rarely noticeable unless you are firing thousands of times a second. |
|