home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / modula2 / 1563 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.1 KB

  1. Path: sparky!uunet!ogicse!psgrain!randy
  2. From: randy@psg.com (Randy Bush)
  3. Newsgroups: comp.lang.modula2
  4. Subject: Re: Generic stack implementation
  5. Message-ID: <1992Dec14.193901.28257@psg.com>
  6. Date: 14 Dec 92 19:39:01 GMT
  7. Article-I.D.: psg.1992Dec14.193901.28257
  8. References: <9212091316.AA14856@elg> <911288c.32.724187845@ace.acadiau.ca> <1992Dec14.133750.1@wombat.newcastle.edu.au>
  9. Organization: Pacific Systems Group, Portland Oregon, US
  10. Lines: 17
  11.  
  12. eepjm@wombat.newcastle.edu.au (Peter Moylan) writes:
  13.  
  14. > TopSpeed Modula-2 won't let you do arithmetic on addresses.  And a
  15. > good thing, too, in my opinion.  Address arithmetic is one of the
  16. > most non-portable things you can do, and I'm a little shocked to
  17. > see an example of it in a textbook.
  18.  
  19. Hmmm.  As one of M2's stated design goals was to be able to write the entire
  20. operating system in M2.  Hence, one wants to write storage [de]allocators,
  21. device drivers for devices that use multiple addresses, ...
  22.  
  23. So, the issue is what is a reasonable zero-cost safety to put around the
  24. mechanism so it is not accidentally misused?
  25.  
  26. randy
  27. -- 
  28. randy@psg.com   ...!uunet!m2xenix!randy
  29.