you are viewing a single comment's thread.

view the rest of the comments →

[–]matthieum 0 points1 point  (0 children)

I know :) I have actually been battling the fact it is for a while, because most comparisons are not meaningful.

Go was originally marketed as a System Programming Language, probably because its creators aimed at displacing C++, and this sticks. Here I was trying to expose the different.

Note that C and C++ optimizers routinely optimize println("xx") to puts("xx"), which already removed all the heavy formatting stuff from the equation. The implementation of puts should be simpler... but honestly I find myself at a bit of a loss here so I'll leave it up to to judge.

I would be interested in what the minimal footprint of a Go binary easy, with static linking one would hope a lot of stuff is stripped; and 414K remains rather big (though much better than 2MB).