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

Thank you for the actual testing (and sorry for typos...). Yes, a C version is small because it dynamically links to libc.so in this case, and I meant to compare against a statically linked version. I primarily wrote this example as a response to the claim that an equivalent---it isn't---C code with musl is very small.


The problem is musl does not support execinfo. For a simple hello world, I managed to statically link with musl to get something with 7888 bytes.




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

Search: