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 X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public From: seebs@plethora.net (Peter Seebach) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/14 Message-ID: #1/1 X-Deja-AN: 525090208 References: <37D81FE1.E90C3B1F@winkinc.com> <37df4efc.433677244@news.shore.net> <37e49171.450690508@news.shore.net> X-Complaints-To: abuse@plethora.net X-Trace: ptah.visi.com 937336272 205.166.146.8 (Tue, 14 Sep 1999 14:11:12 CDT) Organization: Plethora . Net - More net, less spam! NNTP-Posting-Date: Tue, 14 Sep 1999 14:11:12 CDT Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss In article <37e49171.450690508@news.shore.net>, Se�n � Donnchadha wrote: >Not quite. The linker, given "foo", finds "foo.sa", which is simply >the import library for a particular major revision of foo. Roughly, yes. But it can figure out which one it wants. >>After this, the program knows which version it requires, and which other >>versions it may be okay with. >What the heck does "may be okay with" mean? The program certainly does >know which version it requires - say 1.2.3. Now, how does it know >whether it will work with 1.2.4 when that's released? Two options: 1. The developer just said "1.2", in which case, it assumes it works with 1.2.4. Since the sytem provided a mechanism for library maintainers to indicate level of compatability, it is almost certainly right. 2. The developer said "1.2.3", in which case, it ignores a newer version. >Answer: it >doesn't. When 1.2.4 is installed, the program will start using it - a >combination that may not have been lab-tested. If the developer cares, the developer will have specified "1.2.3" as the requested version. >> 1. All versions, including old ones, of a library, so you can >> avoid incompatability. >But this *DOESN'T* avoid incompatibility! When you install a minor >library revision, programs using the previous one get switched over to >use the new one. *THAT'S* where incompatibility can creep in, and Unix >can do nothing about that. Except that, if the programs are worried, they bind to the old version anyway. Unix gives you a choice. More importantly, because it is *standard and easy* to indicate mild version changes, and distinguish them from major ones, the people producing the libraries actually do so. >Great, now if only I knew what "foo" meant. Admit it, a standard >mechanism for tagging an executable with descriptive text of arbitrary >length is a whole lot better. And Windows provides that. I am unlikely to admit something so godawful stupid. Descriptive text is cute, but not useful. You can't have a program parse the text, and developers in Windows-land pick descriptive text that you can't actually read - because they use different conventions. A standard convention is a very good thing. It's like which side of the road you drive on; the important thing is that people agree. -s -- Copyright 1999, All rights reserved. Peter Seebach / seebs@plethora.net C/Unix wizard, Pro-commerce radical, Spam fighter. Boycott Spamazon! Will work for interesting hardware. http://www.plethora.net/~seebs/ Visit my new ISP --- More Net, Less Spam!