home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / misc / 3775 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  2.0 KB

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