LWN.net Logo

Doing it for the kids, man

Doing it for the kids, man

Posted Oct 28, 2006 22:54 UTC (Sat) by nix (subscriber, #2304)
In reply to: Doing it for the kids, man by Tara_Li
Parent article: Doing it for the kids, man: Children's laptop inspires open source projects (LinuxWorld)

Definitely don't link statically! As it is, those libraries interfacing to
things you don't use have only one copy in memory across all apps, and
even *that* is probably not paged in if you're not using it. Compile it
statically, and you'll have functions from those libraries scattered among
functions that *are* being used, *and* duplicated in every user. It's
hugely more expensive.


(Log in to post comments)

Doing it for the kids, man

Posted Nov 2, 2006 5:31 UTC (Thu) by JoeBuck (subscriber, #2330) [Link]

Unfortunately, we don't have a good tool for reporting memory usage. The ones that we have don't properly show the benefits of shared libraries, so people don't see the benefits of dynamic linking.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.