From: David Lawyer <dave@lafn.org>
To: linux-serial@vger.kernel.org
Subject: Re: n_tty.c driver patch (semantic and performance correction) (a ll recent versions)
Date: Tue, 30 Jul 2002 22:31:39 -0700 [thread overview]
Message-ID: <20020730223139.A928@lafn.org> (raw)
In-Reply-To: <11E89240C407D311958800A0C9ACF7D13A7915@EXCHANGE>
On Tue, Jul 30, 2002 at 10:07:51AM -0700, Ed Vance wrote:
> On Sat, July 27, 2002 at 8:02 PM, stevie@qrpff.net wrote:
> >
> > But... but... the standard says...
> >
> > A pending read shall not be satisfied until MIN bytes are
> > received (that is, the pending read shall block until MIN
> > bytes are received), or a signal is received.
> >
> > And because I'm too dead-set on doing it that way solely because
> > that's how it's always been done, I won't ever consider changing it.
> > I'll blindly ignore how much xmodem transfers suck, and the fact
> > that I can come up with no practical purpose at all for this feature,
> > and just repeat what the standard says. Why should we obey what
> > Linux man pages say? What do the Linux man pages have to do with
> > Linux?
> >
> > Remember: Computers and their programs aren't here to make our lives
> > easier, or to make tasks simpler. They are here to follow standards.
>
> Hi Rob,
>
> Stevie O gets to the central issue here. Why _not_ change long-existing,
> widely used interfaces in subtle ways because the old way makes no sense to
> us and the new way does? Is standards-based programming a lemming behavior?
>
> My answer is that but-I-think-it-would-be-better, alone, is not a sufficient
> reason to risk exposure of old application bugs (if you don't actually have
> to) and to bring down apps that ran just fine with the bugs for years. In
> this case, the proposed new functionality is triggered by use of interface
> space that already had a specified behavior.
>
> When new functionality is added, at a minimum, its interface should be
> outside of the previous valid use set. If one simply must attach the
> tendrils of cleverness to the vines of an existing interface, the new
> functionality should only appear upon app behaviors that would previously
> have been invalid enough to reject the request and burp up an error code.
>
> As I said before, innovation is fine. Just don't pollute the existing
> interfaces. If even one real customer running real work has bad day because
> of exposure of an old app bug or an unanticipated consequence of the change,
> then it wasn't worth ignoring safer implementation practices. One can't
> attain 100% safety, but one _can_ minimize the risk.
I think it's very important for Linux to be efficient so that it will
work well on old hardware, etc. What's being proposed seems to help.
So I think that if there is a low probability that it will break any
existing application where non-trivial harm will be caused, then I would
favor innovation (actually common sense in this case). Also someone
should try to get the standards modified to clearly allow what's
proposed.
David Lawyer (Maintainer of Serial-HOWTO, but I
try to avoid Serial-Programming :-)
next parent reply other threads:[~2002-07-31 5:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <11E89240C407D311958800A0C9ACF7D13A7915@EXCHANGE>
2002-07-31 5:31 ` David Lawyer [this message]
2002-07-31 16:58 n_tty.c driver patch (semantic and performance correction) (a ll recent versions) Ed Vance
-- strict thread matches above, loose matches on Subject: below --
2002-07-30 17:07 Ed Vance
2002-07-29 21:46 Ed Vance
2002-07-30 7:50 ` Robert White
2002-06-28 18:12 Ed Vance
2002-06-26 17:48 Ed Vance
2002-06-26 20:42 ` Russell King
2002-06-27 16:37 ` Robert White
2002-07-26 14:17 ` Russell King
2002-07-27 22:07 ` Robert White
2002-07-27 23:11 ` Russell King
2002-07-27 23:21 ` Andries Brouwer
2002-07-28 2:34 ` Robert White
2002-07-28 3:01 ` Stevie O
2002-07-28 13:34 ` Andries Brouwer
2002-07-28 20:04 ` Alan Cox
[not found] ` <1027886676.790.5.camel@irongate.swansea.linux.org.uk>
2002-07-30 7:41 ` Robert White
2002-07-28 2:36 ` Robert White
2002-06-17 17:27 Ed Vance
2002-06-18 2:00 ` Robert White
[not found] ` <200206171900.03955.rwhite@pobox.com>
2002-06-18 13:05 ` Stuart MacDonald
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=20020730223139.A928@lafn.org \
--to=dave@lafn.org \
--cc=linux-serial@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox