From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public From: sean@forget.about.it (Se�n � Donnchadha) Subject: Re: "No-one gets fired for buying Microsoft" Date: 1999/09/17 Message-ID: <37e2967f.240582208@news.shore.net>#1/1 X-Deja-AN: 526447706 Content-Transfer-Encoding: 7bit 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> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 937597626 207.244.116.3 (Fri, 17 Sep 1999 15:47:06 EDT) Organization: Shore.Net/Eco Software, Inc; (info@shore.net) MIME-Version: 1.0 NNTP-Posting-Date: Fri, 17 Sep 1999 15:47:06 EDT Newsgroups: comp.os.linux.alpha 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.