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,c9d5fc258548b22a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: How do I write directly to a memory address? Date: Mon, 07 Feb 2011 11:24:00 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <67063a5b-f588-45ea-bf22-ca4ba0196ee6@l11g2000yqb.googlegroups.com> <31c357bd-c8dc-4583-a454-86d9c579e5f4@m13g2000yqb.googlegroups.com> <05a3673e-fb97-449c-94ed-1139eb085c32@x1g2000yqb.googlegroups.com> <4d4c232a$0$28967$882e7ee2@usenet-news.net> <4D4D6506.50909@obry.net> <4d50095f$0$22393$882e7ee2@usenet-news.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1297095840 21565 192.74.137.71 (7 Feb 2011 16:24:00 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 7 Feb 2011 16:24:00 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:u+Kq9bCT9CnPvJqzyBGOVmmAk7A= Xref: g2news1.google.com comp.lang.ada:16934 Date: 2011-02-07T11:24:00-05:00 List-Id: Hyman Rosen writes: >...And is Ada any > more immune than C to little Bobby Tables? () Well, yeah, somewhat. As I mentioned in another thread: http://www.adacore.com/2010/03/22/gem-82/ http://www.adacore.com/2010/04/05/gem-83/ The second "gem" contains a reference to that very same xkcd comic you mention above (which I found highly amusing!). Similar things could be done in C, but it's it's rather more trouble. - Bob