From -4085159081217327307
X-Google-Thread: f78e5,480a31feed3c6a1b
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: SeeWebsiteForEmail@moderncppdesign.com ("Andrei Alexandrescu (See Website For Email)")
Newsgroups: comp.std.c++
Subject: Re: boost::shared_ptr revisited again
Date: Wed,  8 Jun 2005 05:57:42 GMT
Organization: Computer Science & Engineering, U of Washington, Seattle
Lines: 34
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <IHr38z.1KC1@beaver.cs.washington.edu>
References: <4299DE64.40403@poczta.onet.pl> <3g55jqFajuhcU1@news.dfncis.de> <d7o5b6$3g3$1@nemesis.news.tpi.pl> <ou0oe.1880$wy1.4@newssvr13.news.prodigy.com> <S4Odne3eN6s1Cj3fRVn-2g@giganews.com> <IHMn9C.1CM1@beaver.cs.washington.edu> <AoWdnSlmv52dxDnfRVn-oA@giganews.com>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1118210272 24648 158.152.254.254 (8 Jun 2005 05:57:52 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Wed, 8 Jun 2005 05:57:52 +0000 (UTC)
X-Nntp-Posting-Host: parakeet.ee.washington.edu
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-Accept-Language: en-us, en
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Path: comp-std-cpp-robomod!not-for-mail
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id j585vgr7028018;
	Wed, 8 Jun 2005 15:57:42 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Newsgroups: comp.std.c++
Xref: g2news1.google.com comp.std.c++:5025

Pete Becker wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
> 
>> Pete Becker wrote:
>>
>>> Nope. Java traps them, and throws a NullPointerException. The price 
>>> of doing that, of course, is runtime pointer checks.
>>
>> Not always. Some implementations implement the access violation trap 
>> and translate it to a Java exception. For non-null pointers, that 
>> incurs no runtime cost.
>>
> 
> Always. The implementation you describe is a runtime check.

Not always.

I wonder how one could refer to something I describe, which I myself 
haven't described. :o)

Anyway... see 
http://www.prolangs.rutgers.edu/refs/docs/kawahito-asplos00.pdf and the 
bibliography references 2 (the Jalapeno VM), 13 (IBM's JIT), and 15 
(LaTTe).


Andrei

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



