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

75M is still huge for this type of thing.

My smallest Go CLI is 1.6M. This is probably about as small as you can get in Go and still do something useful. Some of my other (larger) Go CLIs range from ~2.5M to ~6.5M. Go is not known for producing small binaries.



For fun, I made an executable hello world with SBCL and it came out weighing 40MB (no compression, of course); this also includes Unicode data and a complete compiler. Something's wrong here.


My point is that the issue is the stdlib is monolithic at the moment. As it gets split up in the near future, the binaries will reduce in size.


I thought Swift compiles to machine code? Can't it eliminate the unused stdlib code?

Well, I guess not if the statically linked binaries are so large, but this seems like the more major reason for these very large binaries instead of stdlib being monolithic? (Not entirely sure what that means in this context)




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

Search: