🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2619

Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)

#2619
From: Viet-Trung Luu
Date: Fri, 13 Oct 1995 23:49
39 lines
2799 bytes
On 10 Oct 1995, Stephen E. Halpin wrote:

> Getting back to reality, Ive seen very complex systems built with no error
> detection capability, and when a problem occurs with a frequency of once a
> week, its a nightmare to debug.  If the application traps the error, and
> leaves behind a fairly detailed image of its state when the error occured,
> you can save literally weeks of debug time.

Core dump?!? Nah... Of course, all complex systems are hard to debug -- 
and with interaction with other software (e.g., the OS), and even the 
hardware, intermittent bugs become nearly impossible to debug. I guess 
that I have to agree that runtime checking helps a lot, but it doesn't do 
everything (sometimes -- often -- speed is more critical).

> There is also a data recovery issue that falls out of a data verification
> philosophy..  We had a document written with a very popular Word processor,
> and due to some kind of bug, that application was no longer able to read
> the file it had written.  Worse, it would outright crash rather than report
> an error, and (what would be most desirable) give you what it was able to
> read of the file so it could be transcribed to another file.

Hmmm... but would a "Runtime error 2354" be any better? In any case, 
you're at the mercy of the software vendor to fix the bug. (What can I 
say about bad software that crashes upon reading a corruped file? It's 
just plain *bad*.)

> Agreed.  But it can tell you that something went wrong, which is almost
> always better than trusting the results blindly.  I still here about how
> parity errors never happen, and yet I still see them from time to time.
> Id rather have to reenter a few numbers in the financials spreadsheet
> than have to find out three weeks later that somethings wrong, and figure
> out which bit got flipped.  It still doesnt help with coding errors (ie
> the lore of the space probe and DO2I...)

You must have a lot of memory! (From my experience, parity errors are 
more often due to some intermittent hardware problem, such as some sort 
of conflict that only manifests itself once in a long while.)

- Trung
Technical Details
Message-ID: <Pine.SUN.3.91.951013030244.27595B-100000-100000@lagrange.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!lagrange.uwaterloo.ca!vluu

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada
Path: arc1-ca.pugleaf.net!lagrange.uwaterloo.ca!vluu
From: Viet-Trung Luu <vluu@lagrange.uwaterloo.ca>
Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++) 
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Message-ID: <Pine.SUN.3.91.951013030244.27595B-100000-100000@lagrange.uwaterloo.ca>
In-Reply-To: <45ereq$t6o@regina.seh.codem.com> 
Date: Fri, 13 Oct 1995 23:49:04 GMT
Content-Type: TEXT/PLAIN; charset=US-ASCII
Nntp-Posting-Host: lagrange.uwaterloo.ca
Mime-Version: 1.0
Organization: University of Waterloo