From: Martin@nezumi.demon.co.uk (Martin Tom Brown)
Subject: Re: [++] Tight coding
Date: 1998/03/02 [thread overview]
Message-ID: <888847977snz@nezumi.demon.co.uk> (raw)
In-Reply-To: 6dcdvp$6oa$1@mainsrv.main.nc.us
In article <6dcdvp$6oa$1@mainsrv.main.nc.us> scott@softbase.com writes:
> The best refutation of proofs for programs is in Peter van der Linden's
> Deep C Secrets. He shows a page from such a proof, which is
> incomprehensible to anyone other than a theoretical mathematician, and
> then describes a Usenet flame war about an error in a proof.
ISTR that the program proofs of the x87 microcode which I think were
sponsored by Cyrix revealed several important x87 implementation bugs.
Proof of correctness can be useful and *important* sometimes.
> There are not enough programmers to go around, and requiring
> mathematicians to prove programs on top of them will never work.
In fact the best scope for having reusable components is if
they come with a proof or certificate of fitness for purpose.
The trend unfortunately is toward the shrink wrap disclaimer :(
> only hope we have is "black box" object programming, where an object is
> just a plug-in component. It will either work reliably, or can be
> replaced if it does not.
To define "work reliably" you have to specify what it does, over
what domains of input, and what happens with out of domain data.
Enumerating all cases is impossible so you are back to some sort
of formal method to manipulate expressions in general terms.
Ariane 5 is a salutory warning about what happens when you reuse
code without properly analysing the differences in specification.
Regards,
--
Martin Brown <martin@nezumi.demon.co.uk> __ CIS: 71651,470
Scientific Software Consultancy /^,,)__/
next prev parent reply other threads:[~1998-03-02 5:00 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-23 5:00 Wildfire and NT Robert Harley
1998-02-24 5:00 ` brianh
1998-02-24 5:00 ` David Hinds
1998-02-25 5:00 ` Del Cecchi
1998-02-25 5:00 ` brianh
1998-02-24 5:00 ` Bill Moyer
1998-02-25 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` Epiphanies (was: Wildfire and NT) Carlie Coats
1998-02-25 5:00 ` Wildfire and NT John Hascall
1998-02-25 5:00 ` Rob Rodgers
1998-02-24 5:00 ` Sean Burke
1998-02-25 5:00 ` brianh
1998-02-25 5:00 ` [++] Tight coding (Was: Re: Wildfire and NT) Terje Mathisen
1998-02-28 5:00 ` Piercarlo Grandi
1998-03-01 5:00 ` [++] Tight coding Bill Moyer
1998-03-01 5:00 ` Ruud Bruijnesteijn
1998-03-01 5:00 ` scott
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Terry Moore
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Pete Becker
1998-03-03 5:00 ` Ruud Bruijnesteijn
1998-03-03 5:00 ` Pete Becker
1998-03-04 5:00 ` Terry Moore
1998-03-03 5:00 ` Pete Becker
1998-03-04 5:00 ` Ruud Bruijnesteijn
1998-03-02 5:00 ` Martin Tom Brown [this message]
1998-03-01 5:00 ` Larry Kilgallen
1998-03-01 5:00 ` [++] Tight coding (comp.sys.dec-only thread) Bill Moyer
1998-03-02 5:00 ` [++] Tight coding Peter Moylan
1998-03-02 5:00 ` Scott Fluhrer
1998-03-02 5:00 ` Lawrence Kirby
1998-03-02 5:00 ` Peter Moylan
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Ketil Z Malde
1998-03-04 5:00 ` Lyn A Headley
1998-03-03 5:00 ` Lawrence Kirby
1998-03-02 5:00 ` Kaz Kylheku
1998-03-02 5:00 ` Martin Harvey
1998-03-03 5:00 ` Larry Kilgallen
1998-02-25 5:00 ` Wildfire and NT Mike Albaugh
1998-02-25 5:00 ` Maynard Handley
1998-02-25 5:00 ` Bernd Paysan
1998-02-25 5:00 ` brianh
1998-02-26 5:00 ` Bernd Paysan
1998-02-27 5:00 ` brianh
1998-03-01 5:00 ` Ketil Z Malde
1998-02-26 5:00 ` Doug
1998-02-26 5:00 ` Jeffrey S. Dutky
1998-02-27 5:00 ` Paul Kahler
1998-03-02 5:00 ` Joel Gallun
1998-03-02 5:00 ` Przemek Klosowski
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox