From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,80bc3e0698be468f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!207.115.63.142.MISMATCH!newscon02.news.prodigy.com!prodigy.net!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Type safety on wikipedia Date: 6 Feb 2006 02:29:49 -0600 Organization: LJK Software Message-ID: References: <1138260496.230283.147640@g43g2000cwa.googlegroups.com> <1138283608.433842.76060@z14g2000cwz.googlegroups.com> <87fynaajuh.fsf@mid.deneb.enyo.de> <1138322309.525464.253320@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1139214575 25282 192.135.80.34 (6 Feb 2006 08:29:35 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 6 Feb 2006 08:29:35 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2790 Date: 2006-02-06T02:29:49-06:00 List-Id: In article , Dave Thompson writes: > On some (increasingly many) systems with virtual memory where it is > easy (enough) to leave page (or even segment) 0 unmapped, it will give > a clear error, usually even a recoverable signal (roughly like the > exception in Ada). On some (other) systems, (virtual) 0 is accessible > (and accessed) but is reserved and initialized with "useful" data, > such as 4 bytes of zero which in the most common read cases (as a > string, char, or int) gives a safe and possibly even useful result. Well, there is only one virtual zero address within a given program execution address space, and I seem to recall that at least one LISP implementation used that for a crucial piece of data (that had to be addressed as zero in that implementation). Thus one could not depend on the lack of physical memory at zero in any program built from both LISP and Ada modules.