From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <0ffee4ba13816a49a6360ce6668e65f2@quintile.net> References: <20100217143303.GC10816@nibiru.local> <0ffee4ba13816a49a6360ce6668e65f2@quintile.net> Date: Wed, 17 Feb 2010 07:58:28 -0800 Message-ID: <3e1162e61002170758j3ae78e20q7b535489a509dd06@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd6a734d1522c047fcdebe5 Subject: Re: [9fans] Binary format Topicbox-Message-UUID: d50318c2-ead5-11e9-9d60-3106f5b1d025 --000e0cd6a734d1522c047fcdebe5 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Feb 17, 2010 at 6:55 AM, Steve Simon wrote: > > And another important feature of shared libraries is, that when > > some lib is updated, importing programs dont have to be recompiled. > > What's the Plan9 solution here ? > > We recompile the relevant executables. The speed of kencc makes this > much less painful than you might expect. It also happens very rarely > on plan9 - I cannot remember the last time we had a "big" pull. > It also neatly sidesteps the issue that different > applications can need different versions of a single > shared library. This is a real problem on some OSs > (see 9fans passim). > > The solution to needing different shared libraries for different applications is of course to distribute them with the binary in a bundle, which makes a lot less sense than just statically linking it to begin with. > -Steve > > --000e0cd6a734d1522c047fcdebe5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Feb 17, 2010 at 6:55 AM, Steve S= imon <steve@quin= tile.net> wrote:
> And another important feature of shared libraries is= , that when
> some lib is updated, importing programs dont have to be recompiled. > What's the Plan9 solution here ?

We recompile the relevant executables. The speed of kencc makes this<= br> much less painful than you might expect. It also happens very rarely
on plan9 - I cannot remember the last time we had a "big" pull.

It also neatly sidesteps the issue that different
applications can need different versions of a single
shared library. This is a real problem on some OSs
(see 9fans passim).


The sol= ution to needing different shared libraries for different applications is o= f course to distribute them with the binary in a bundle, which makes a lot = less sense than just statically linking it to begin with.
=A0
-Steve


--000e0cd6a734d1522c047fcdebe5--