Re: Slashdot | Help Test mod_perl 2 Release Candidates

[prev] [thread] [next] [Date index for 2004/12/29]

From: Joe Schaefer
Subject: Re: Slashdot | Help Test mod_perl 2 Release Candidates
Date: 01:54 on 29 Dec 2004
"Perrin Harkins" <perrin@xxxx.xxx> writes:

> Stas Bekman said:
>> In fact Perrin gave a perfect counter-example, while looking for an
>> example. The fact is C libraries *do not* embed version numbers in their
>> API.
>
> Sure they do, when they change the API significantly: SQLite2, Gtk2,
> libxml2.  Separate API, manpages, headers, etc.

Not quite.  There's a difference between appending a version number 
to library name, and embedding a version number in the function names.  
The former is standard practice nowadays because we distribute our C
libraries to other developers, and telling a C compiler which API 
you want to you want to compile against can be a royal PITA without 
versioning both the soname and INC path.

The latter is what symbol versioning solves, which works fine when
you're distributing to end-users only.  But nobody sane mangles C
function names by actually embedding version numbers in them; the
linker's toolchain is expected to work that out (with a few hints
here and there).

        -- 
        Joe Schaefer


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Re: Slashdot | Help Test mod_perl 2 Release Candidates
merlyn (Randal L. Schwartz) 20:34 on 26 Dec 2004

Re: Slashdot | Help Test mod_perl 2 Release Candidates
merlyn (Randal L. Schwartz) 15:09 on 27 Dec 2004

Re: Slashdot | Help Test mod_perl 2 Release Candidates
Joe Schaefer 01:54 on 29 Dec 2004

About putting the blame on other shoulders
Andreas J Koenig 14:28 on 28 Dec 2004

Re: About putting the blame on other shoulders
Stas Bekman 15:01 on 28 Dec 2004

Re: About putting the blame on other shoulders
Stas Bekman 15:54 on 28 Dec 2004

Re: About putting the blame on other shoulders
Andreas J Koenig 16:11 on 28 Dec 2004

Re: About putting the blame on other shoulders
Issac Goldstand 16:11 on 28 Dec 2004

Re: About putting the blame on other shoulders
Stas Bekman 16:27 on 28 Dec 2004

Re: About putting the blame on other shoulders
merlyn (Randal L. Schwartz) 16:43 on 28 Dec 2004

Re: About putting the blame on other shoulders
Issac Goldstand 16:58 on 28 Dec 2004

Re: About putting the blame on other shoulders
merlyn (Randal L. Schwartz) 17:09 on 28 Dec 2004

Re: About putting the blame on other shoulders
Issac Goldstand 17:30 on 28 Dec 2004

Re: About putting the blame on other shoulders
David Nicol 07:01 on 30 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52