4 ms·
> 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
by aij 10y ago
> 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 http://stackoverflow.com/a/29461455/2343847
- CyberDildonics 10y agoTo 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.
- Shorel 10y agoWhat? I have done hello world in C at about 4kB. You may be confusing C with C++.