home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!linac!att!news.cs.indiana.edu!syscon!carl
- From: carl@syscon.rn.com (Carl Kreider)
- Newsgroups: comp.lang.c
- Subject: Re: Why should POINTERS be so damn hard to understand ?
- Message-ID: <1992Sep03.154038.27377@syscon.rn.com>
- Date: 3 Sep 92 15:40:38 GMT
- Article-I.D.: syscon.1992Sep03.154038.27377
- References: <9208251159.AA04122@ult4> <1992Aug26.124652.9509@alw.nih.gov> <1992Aug28.012406.3698@ttinews.tti.com> <14315@goanna.cs.rmit.oz.au>
- Organization: Syscon Corporate Headquarters - South Bend, IN USA
- Lines: 19
-
- ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes:
-
- >In article <1992Aug28.012406.3698@ttinews.tti.com>, reid@metis.tti.com (Reid Kneeland) writes:
- >> True. If you think of C as a preprocessor for the PDP-11 assembler, it
- >> makes a lot more sense.
-
- >Of course, if you _do_ think of C that way, you will be committing the
- >sin of anachronism. Most of C's control structures are copied from BCPL
- >(designed for word-oriented machines) except that BCPL had separate BREAK
- >and ENDCASE statements, and C confounds the two; C's update operators were
- >very popular at the time it was designed and were mostly present in Algol 68
- >(C didn't copy the PRUS operator though). The PDP-11 was _not_ the first
- >machine C ran on, nor the machine C was designed for.
-
- Certainly true, but I thought that "*p++ = *s++" derives directly from
- "mov (r0)+,(r1)+" for example. In that sense C is high level assembler.
- --
- Carl Kreider Usenet uunet!rde!gator!syscon!carl
- CIS 71076,76 Internet carl@syscon.rn.com
-