From: Hans-Juergen Boehm <boehm@mti.sgi.com>
Subject: pointer checking (WAS Re: Final kick at the "Merced Guessing Game")
Date: 1997/10/22 [thread overview]
Message-ID: <344E407E.41C6@mti.sgi.com> (raw)
In-Reply-To: 62dkeh$7dd$1@lyra.csx.cam.ac.uk
Nick Maclaren wrote:
>
> I hope that we are agreed that garbage collection WITHOUT pointer checking
> is a recipe for chaos, sooner or later :-)
>
Agreed. But so is explicit deallocation without pointer checking. In
my experience, more so. Not only can I introduce memory addressing
errors that don't show up until much later, but I can also introduce
deallocation errors with the same symptoms. And I often have a harder
time using higher level linked data structures that might get me away
from the dangerous low-level pointer manipulations.
Perhaps a more interesting question is whether test-time pointer
checking techniques that are run only during testing (e.g. Purify, or C
pointer-arithmetic-checking as described for example in my 1996 PLDI
paper) are good enough, or whether you need the expense of full-time
pointer checking. It probably depends on the circumstances.
--
Hans-Juergen Boehm
boehm@mti.sgi.com
next prev parent reply other threads:[~1997-10-22 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-07 4:00 Final kick at the "Merced Guessing Game" Robert Harley
1997-10-07 4:00 ` Nick Maclaren
1997-10-07 4:00 ` Shankar Unni
1997-10-08 4:00 ` boo
1997-10-09 4:00 ` Patrick F. McGehearty
1997-10-10 4:00 ` Richard A. O'Keefe
1997-10-15 4:00 ` David Chase
1997-10-16 4:00 ` William Clodius
1997-10-17 4:00 ` WAS " David Chase
1997-10-18 4:00 ` Nick Maclaren
1997-10-18 4:00 ` [Reposted due to Enlow UCE cancel]: " David Chase
1997-10-19 4:00 ` Nick Maclaren
1997-10-22 4:00 ` Hans-Juergen Boehm [this message]
1997-10-18 4:00 ` David Chase
1997-10-07 4:00 ` Martin Rodgers
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox