From: Pablo Neira Ayuso <pablo@netfilter.org>
To: hadi@cyberus.ca
Cc: Netfilter Development Mailinglist
<netfilter-devel@vger.kernel.org>,
Jan Engelhardt <jengelh@medozas.de>,
Patrick McHardy <kaber@trash.net>
Subject: Re: user-space xtables ABI [was Re: [Fwd: Re: iptables pull request]]
Date: Mon, 18 May 2009 16:18:19 +0200 [thread overview]
Message-ID: <4A116E2B.6050600@netfilter.org> (raw)
In-Reply-To: <1242578893.3996.70.camel@dogo.mojatatu.com>
jamal wrote:
> On Sun, 2009-05-17 at 17:40 +0200, Pablo Neira Ayuso wrote:
>> There is an __attribute__((deprecated)) in gcc that displays a message
>> during compilation time to warn that the software is using obsolete
>> interfaces. Then, we can remove it 1 or 2 years later.
>
> Also something runtime maybe on syslog (example what packet socket
> used to do - complaining about tcpdump until they changed it).
> I did forget to mention one thing which may sound extreme,
> Documentation:
> A document aptly named "ABI breakage" which outlines all revisions and
> what they break. Maybe even an extra document called
> "Deprecation" which announces what is going to break and when.
That seems fine, although I'm not sure that users usually look at these
sort of files. I think that they wait until things break so they have to
put out the fire :).
>> In my case, it's been four years with the current library APIs and
>> following an evolution approach as you have mentioned (adding new
>> functions and obsoleting old ones but keeping them in the tree for a
>> while). Now I'm doing more like a full re-design that needs the
>> "revolution", no way to keep backward compatibility to resolve several
>> issues.
>
> I think there is room for revolutions with the caveat of ample warnings.
> Like you said if you have been giving warning for 2 years about
> something deprecating then you are absolved of dropping the interface.
>
>> Still, people would be able to have both version 1 and 2 of the
>> libraries installed in their computer so they can keep attached to old
>> versions without breaking binary backward compatibility. I've been
>> discussing this with a friend of mine that maintains a couple of
>> critical libraries in the gnome project, it was nice to expose him my
>> ideas and see that I was on the right track.
>
> Good motivation to migrate from version 1 to 2 is always a key
> factor. Give me some compelling reason to migrate. At the risk of
> sounding politically incorrect: Example, IPV4 works just fine; add
> NAT and you address the major sticking point and i dont care about
> the fact that IPV6 has the insurance that i can slice bread with it
> someday when i need to. OTOH, pay me some $$ per packet
> (a .01 Canadian penny would do) and i will migrate to IPV6;->
Well, shiny new features is the only thing that I can "sell" in this
case. Something like: "if you migrate from version 1 to 2, you will get
these set of new features in return". Of course, if they don't need
them, it's a hard sell ;).
--
"Los honestos son inadaptados sociales" -- Les Luthiers
next prev parent reply other threads:[~2009-05-18 14:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4A0E9786.8060407@netfilter.org>
[not found] ` <1242566196.3996.23.camel@dogo.mojatatu.com>
2009-05-17 14:46 ` user-space xtables ABI [was Re: [Fwd: Re: iptables pull request]] Pablo Neira Ayuso
2009-05-17 15:14 ` jamal
2009-05-17 15:40 ` Pablo Neira Ayuso
2009-05-17 16:48 ` jamal
2009-05-17 17:06 ` Jan Engelhardt
2009-05-17 17:11 ` jamal
2009-05-18 14:18 ` Pablo Neira Ayuso [this message]
2009-05-17 16:01 ` Jan Engelhardt
2009-05-17 16:12 ` Pablo Neira Ayuso
2009-05-17 16:39 ` Jan Engelhardt
2009-05-17 16:59 ` jamal
2009-05-17 17:11 ` Jan Engelhardt
2009-05-17 22:09 ` jamal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A116E2B.6050600@netfilter.org \
--to=pablo@netfilter.org \
--cc=hadi@cyberus.ca \
--cc=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.