Hacker News new | ask | show | jobs
by saagarjha 717 days ago
I mean, if you're willing to do that why not just dynamically link?
1 comments

The OP article is saying that static linking leads to size reduction. That's why asking.
You’re not getting a size reduction if you maintain a library boundary, though. What you’re doing is isomorphic to dynamically linking except the app code is in the library and the library code is in the main binary.
Ok. I understood. Thanks for explaining.