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

On 32-bit Linux GCC, C hello world comes out to only 7 KB. Without optimization.


Just as a datapoint (I did this test before seeing the comment), in 32-bit cygwin a hello world written in C compiled to 12KB. In C++, it compiled to 497KB.




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

Search: