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!proxad.net!134.158.69.22.MISMATCH!in2p3.fr!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Type safety on wikipedia Date: Sat, 28 Jan 2006 08:04:29 +0100 Organization: Cablecom Newsserver Message-ID: <7424607.yTHvNIvSkL@linux1.krischik.com> References: <1138260496.230283.147640@g43g2000cwa.googlegroups.com> <1138363035.664717.262330@g47g2000cwa.googlegroups.com> <17514424.vPDbTzKvie@linux1.krischik.com> <3yNinNxmEyJb@eisner.encompasserve.org> NNTP-Posting-Host: 84-74-134-212.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1138432504 21152 84.74.134.212 (28 Jan 2006 07:15:04 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Sat, 28 Jan 2006 07:15:04 +0000 (UTC) User-Agent: KNode/0.10 Xref: g2news1.google.com comp.lang.ada:2697 Date: 2006-01-28T08:04:29+01:00 List-Id: Larry Kilgallen wrote: > In article <17514424.vPDbTzKvie@linux1.krischik.com>, Martin Krischik > writes: >> Larry Kilgallen wrote: >> >>> In article <1138363035.664717.262330@g47g2000cwa.googlegroups.com>, >>> "Martin Krischik" writes: >>> >>>> You can manualy free memory - provided all pointers pointing to the >>>> freed memory are set to null at the same time. And access to a null >>>> pointer is handled in orderly manner. >>> >>> If a program is correct, having the pointers become null is not an >>> issue. Referencing through a null pointer or a stale pointer is equally >>> wrong. >> >> Not of access of a null pointer raises an exceptions. Exceptions are >> considered well defined. See the talk page. > > I gather you are trying to say some people plan to have their programs > access via a null pointer and then handle an exception. That seems > incredibly sloppy. It is also likely to be quite inefficient on some > Ada implementations. In praxis it is indeed sloppy. However: the program does not get "stuck" and has a well defined path of execution - and that is the important part for the theory. > I have no idea what you mean by "the talk page". Any Wikimedia page has a talk page associated where the authors discuss the page progress: Page: http://en.wikipedia.org/wiki/Type_safety Talk: http://en.wikipedia.org/wiki/Talk:Type_safety There is a link at the top of the page to the talk page. Using the English/Monobook user interface the link is called [_Discussion_]. For the page in question the discussion is about thee time the main article - a very controversial toppic indeed. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com