Hacker News new | past | comments | ask | show | jobs | submit login

> Hello world in Rust is still 2.5MB if you statically compile all the libraries in

Still? Since when? Last I checked it was 661kB for Rust vs 829kB for C, and that was quite a while ago.

http://stackoverflow.com/a/29461455/2343847




To be clear, you think that 829kB is the size of a statically linked C program that uses printf to print 'hello world'? In visual studio it is 25KB - 40KB. All of musl compiles to under 500KB.


What? I have done hello world in C at about 4kB. You may be confusing C with C++.




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

Search: