home *** CD-ROM | disk | FTP | other *** search
- Path: phoenix.rhein.de!yaps!arno
- From: arno@yaps.rhein.de (Arno Eigenwillig)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: PPC compilers
- Message-ID: <NBuTx*LVe@yaps.rhein.de>
- Date: Wed, 03 Jan 1996 06:55:45 +0100
- References: <john.hendrikx.40ka@grafix.xs4all.nl> <0u2Px*sKe@yaps.rhein.de>
- <CWoRx*xQe@yaps.rhein.de> <4c9ie3$h3i@sunsystem5.informatik.tu-muenchen.de>
- Organization: Yet Another Private Site in Meckenheim, Germany
- X-Copyright: This article may not be distributed on a CD-ROM
- or in printed form without prior written consent of the author.
- X-Newsreader: Arn V 1.04
-
- In article <4c9ie3$h3i@sunsystem5.informatik.tu-muenchen.de>,
- Juergen "Rally" Fischer writes:
-
- > as it is a rather philosophic question if (*a++||*a++) is C or not,
-
- *a++||*a++ is C beyond any doubt. The discussion was about *a++|*a++,
- though. I see you still have not done your homework. There is an
- important difference between these two.
-
- > According to your definition, a program written in C, but containing a
- > bug, is suddenly not a C program. very funny, and as I said, philosophic.
-
- There are different kinds of bugs.
-
- A program has a bug if it performs a well-defined operation that is
- not sensible in its context, i.e. an operation that is explained by
- the language definition but is not what the algorithm to be implemen-
- ted dictates for the place it appears in. This is what you probably
- have in mind.
-
- Then a program has a bug if it contains code that is not explained by
- the language definition. This is probably new to you because in assem-
- bler there is no equivalent to it - if the assembler translates the
- code, the CPU will execute it and each opcode will yield a well-defi-
- ned result - possibly an "unknown instruction" trap, but well-defined.
-
- The situation is similar to this:
-
- "Juergen likes C."
- "Juergen green vacuums foremost done foo."
-
- Both sentences are not true - the first one because it simply is
- false, the second one because it does not mean anything at all. It is
- not an English sentence: It consists of English words, but it just is
- not a string the English language defines to encode anything.
-
- -- __
- __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key
- \XX/ V+49-2225-5870 /\ <Arnooo @ #amigager> \/ available
-