Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: