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

Well, you will have multiple copies of the same library in your system, but they will be just exclusive for each application.


Well, not really. The compiler is able to optimize the contents of the library and integrate it with the program. i.e. some functions will just be inlined, and that means that those functions won't exist in the same form after other optimizations are applied (Like, maybe the square root function has specific object code, but after inlining the compiler is able to use the context to minify and transform it further).

So it's actually less wasteful.




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

Search: