A Bun "hello world" is 58Mb

Claude also requires npm, FWIW.

That is point not a line. An extra 2MB of source is probably a 60MB executable, as you are measuring the runtime size. Two "hello worlds" are 116MB? Who measures executables in Megabits?

> A Bun "hello world" is 58Mb

I've forgotten how to count that low.

What's a typical Go static binary size these days? Googling around, I'm seeing wildly different answers -- I think a lot of them are outdated.

It depends a lot on what the executable does. I don’t know the hello world size, but anecdotally I remember seeing several go binaries in the single digit megabyte range. I know the code size is somewhat larger than one might expect because go keeps some type info around for reflection whether you use it or not.

Ah, good point. I was just wondering about the fixed overhead of the runtime system -- mainly the garbage collector, I assume.

The Golang runtime is big enough by itself that it makes a real difference from some WASM applications, and people are using Rust instead purely because of that.