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