Yeah, what an outrage this is.
1.3 megabytes. That's like $0.00004 USD worth of hard drive space.
Does the go team think we are all rich or something?
1.3 megabytes. That's like $0.00004 USD worth of hard drive space.
Does the go team think we are all rich or something?
The code that actually executes is not bloated. It's not the most efficient code in the world, because the compilers don't have an optimizer as advanced as gcc's, but it's not unreasonably large.
It's a tradeoff, and worth it in my opinion.
% du -k eval/eval
2040 eval/eval
% strip eval/eval
% du -k eval/eval
1864 eval/eval
Don't just assume. Measure.Anyway it can be improved, but to me there are far more important things to be improved about Go than the binary size of small programs.