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

Why doesn't the linker strip out unused code?


I imagine it's for the same reason Delphi can't strip much, which is that it supports run-time reflection. You can create an instance of a class using a string of the name.

Forms (windows) are deserialized during loading, which relies on this mechanism.




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

Search: