Re: Rambling apt-get ideas
On Thu, Dec 28, 2000 at 06:12:35PM -0600, Adam Heath wrote:
> On Thu, 28 Dec 2000, Matt Zimmerman wrote:
> > Same idea, different implementation. It is using (de)compression code that is
> > shared with other programs.
> Being linked to it statically means it doesn't share the code. This increases
> dpkg code size.
"Sharing" as in "using the same code base", not necessarily as in "shared
library". Every time dpkg is compiled, it pulls in the code from zlib, rather
than having its own copy.
> > Will we one day see a shared libdpkg, with more code moved into it, so that we
> > don't have to fork and call dpkg to do, e.g., version comparisons and
> > extraction of control file information?
> Some day, but not like you think.
Can you elaborate?