From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public From: hs@inferno.nirvananet (Hartmann Schaffer) Subject: Re: "No-one gets fired for buying Microsoft" Date: 1999/09/18 Message-ID: #1/1 X-Deja-AN: 526540019 Content-Transfer-Encoding: 8bit References: <936390733snz@vision25.demon.co.uk> <936441194snz@vision25.demon.co.uk> <7r0tv9$10v$1@plonk.apk.net> <%jUB3.9$je1.1389@typhoon-sf.snfc21.pbi.net> <125933@comton.airs.com> <37e2967f.240582208@news.shore.net> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: abuse@netcom.ca X-Trace: tor-nn1.netcom.ca 937617031 209.146.136.15 (Fri, 17 Sep 1999 21:10:31 EDT) Organization: Netcom Canada Mime-Version: 1.0 NNTP-Posting-Date: Fri, 17 Sep 1999 21:10:31 EDT Newsgroups: comp.os.linux.alpha In article <37e2967f.240582208@news.shore.net>, sean@forget.about.it (Se�n � Donnchadha) writes: > On 10 Sep 99 02:46:12 GMT, ian@airs.com (Ian Lance Taylor) wrote: > >> >>However, GNU/Linux actually does have a real solution to what I >>understand the problem to be: library versioning and symbol >>versioning. >> > > IMHO, if you think that versioning solves the problem, then you don't > really understand the problem. > >> >>Library versioning permits a wholesale replacement of a library >>without disturbing old programs. >> > > No, it's the very nature of shared libraries that enables such > replacement. > >> >>Symbol versioning permits you to ensure that a shared library >>continues to support old interfaces even as you enhance it to define >>new interfaces and to change the old ones. >> > > The problem is much more subtle than "supporting old interfaces". > Whenever you update a library - even if it's just a harmless little > bug fix adding no new interfaces - that library no longer supports the > old interfaces exactly as it did before. Something about the library's > behavior needed to change (otherwise why would there be an update?). > So how do you know whether the change breaks some app? You don't, > unless you actually test every app with your new library. Since that's > practically impossible, the safety of your update can't be guaranteed. what's your problem? the point is that on unixy systems you can install a new version of a shared library without removing the old one. the implication is that apps that ran happily with the old version can continue to do so, while new apps use te new version. if the user so disires, he probably can try his app with the new version, but he can always fall back on using the old version. all this without having to go to special treatment of apps, like fooling around with the registry or copying the dlls into the directory where the app resides (which will cause a maintenancenightmare when the dlll MUST BE REPLACED for whatever reason. -- Hartmann Schaffer It is better to fill your days with life than your life with days