home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!tmb
- From: tmb@arolla.idiap.ch (Thomas M. Breuel)
- Newsgroups: comp.lang.misc
- Subject: Re: Pointers
- Date: 19 Nov 92 00:21:35
- Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle
- Perceptive)
- Lines: 25
- Message-ID: <TMB.92Nov19002135@arolla.idiap.ch>
- References: <1992Nov7.115620.29967@syacus.acus.oz.au>
- <1992Nov10.024021.8724@linus.mitre.org>
- <BEVAN.92Nov11191720@beluga.cs.man.ac.uk> <Bxq1C2.1CC@fiu.edu>
- <mwm.2n45@contessa.palo-alto.ca.us>
- <1992Nov17.121528.28783@syacus.acus.oz.au>
- Reply-To: tmb@idiap.ch
- NNTP-Posting-Host: arolla.idiap.ch
- In-reply-to: ian@syacus.acus.oz.au's message of 17 Nov 92 12:15:28 GMT
-
- In article <1992Nov17.121528.28783@syacus.acus.oz.au> ian@syacus.acus.oz.au (Ian Joyner) writes:
-
- Well, I won't forget it. It is the purpose of computer hardware to run
- software. It is not the purpose of software to be crippled by the
- compromises and limitations of current generation hardware.
-
- So hardware design must be dictated by software considerations, not
- vice versa, as is so apparent in languages like C.
-
- Actually, sadly, C dictates hardware design these days. I have heard
- chip designers for some of the latest, greatest chip sets coming soon
- to a workstation near you say "oh, we did this and that because many C
- programs assume it; we would really have liked to do this
- differently". Most of these are related to how characters, integer
- sizes, and pointers interact in the minds of most C programmers. C's
- lack (in fact, intolerance) of runtime typing and array bounds
- checking, on the other hand, mean that hardware designers these days
- seem to make little effort to support such features, and the
- assumptions of C programmers about power-of-two word sizes make it
- nearly impossible even to find room for bits to store such information
- in. IEEE floating point is another example where (allegedly) software
- considerations drove hardware design, with results that aren't quite
- as bad as in the case of C.
-
- Thomas.
-