Re: [OT] ALSA userspace API complexity
From: Martin Drab
Date: Thu Jan 05 2006 - 20:49:35 EST
On Fri, 6 Jan 2006, Marcin Dalecki wrote:
> On 2006-01-06, at 01:29, Martin Drab wrote:
>
> > Because as much as we all don't like it, it is
> > a realistic fact. There's just NO WAY you can responsibly say about any
> > piece software, that it is completely error free.
>
> You would be for example surprised to see how complex the software controlling
> the breaks
> of a reasonable modern car turns out to be... This is just a technical example
No doubts it is.
> running contrary
> to your "wisdom". In numerical computations you can find reasonable amounts of
> software
> which is precisely just that - bug free. There are mathematical proofs running
> for hundreds of pages,
> which are just valid.
Yes, I know. That, however, still doesn't necesarilly mean that it has to
be completely error free. (An error must not necessarily mean a complete
screw-up.)
> Do you think this kind of guys doesn't ever sit down and
> write
> some piece of software to help out well for example in determining some
> aerodynamics of a plane?
I know they do. Again, it doesn't mean that that software has to be
completely error free.
> Are you assuming this kind of applications is trivial and by virtue of a
> natural law bug ridden?
Well, I'm moving in an environment of nuclear energy, physics, and
mathematical modelling a bit for quite some while. And I know, that you
can never be absolutely certain that any (reasonably complex) software is
completely error free.
Apart from that, that in those really critical cases (such as a primary
controlling system of a nuclear reactor), you are actually forced to just
a strict subset of a strictly defined programming languages, it is just
that, that forces you to have tons of various sophisticated checking and
safety mechanisms implemented in the software to prevent any possible bugs
to do any serious harm, which in this case can no doubt be very terminal.
Overconfidence in these cases is not in place, even though these really
are the ones that are really thotoughly checked for bugs.
> And by the way: the zero program which has nothing to do is bug free. QED.
Ah, OK, you got me on that one. :) But that's not quite what I had in
mind.
Anyway, I guess we're quite by far OT with this. So I think we should just
leave it at that, and let everybody draw their own conclusions to their
own best knowledge. Sorry for bothering with this.
Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/