From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Run-time accessibility checks
Date: Thu, 11 Dec 2008 10:08:29 +0100
Date: 2008-12-11T10:08:29+01:00 [thread overview]
Message-ID: <u2wt7q63ofa8.5kd6tdwvvo6m.dlg@40tude.net> (raw)
In-Reply-To: ghpot9$laq$1@munin.nbi.dk
On Wed, 10 Dec 2008 19:03:23 -0600, Randy Brukardt wrote:
> OTOH, a fully dynamic model would only fail when the pointer really
> is dangling, because the accessibility would stay with the access type and
> there would never be any conversion to the static world. So that would only
> represent a real bug. But of course it is a lot more expensive at runtime.
So far the problem is that accessibility check suggests that a pointer is
dangled when it is actually not.
> I'm going to write up a proposal for a fully dynamic model. I don't really
> expect it to get anywhere, but at least we'll have it around the next time
> someone starts realizing that static accessibility is complete junk.
Well, but I just don't need that stuff from the compiler. It merely blows
the language up giving nothing in return. When I (forced to) use a pointer
I know a lot more about the life time of the objects involved than the
compiler. I just want be able to express this semantics myself. For this I
need fat pointers with the "fat" defined myself. Give the programmer
abstract access types and scrap this dynamic accessibility stuff
altogether. [And anonymous access types as well.]
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2008-12-11 9:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-06 10:15 Run-time accessibility checks (was: Construction initialization problem) Dmitry A. Kazakov
2008-12-06 17:10 ` Ludovic Brenta
2008-12-07 8:44 ` Run-time accessibility checks Dmitry A. Kazakov
2008-12-07 14:56 ` Ludovic Brenta
2008-12-07 19:22 ` Dmitry A. Kazakov
2008-12-11 1:03 ` Randy Brukardt
2008-12-11 9:08 ` Dmitry A. Kazakov [this message]
2008-12-11 0:55 ` Run-time accessibility checks (was: Construction initialization problem) Randy Brukardt
2008-12-11 9:48 ` Run-time accessibility checks Dmitry A. Kazakov
2008-12-11 11:21 ` Georg Bauhaus
2008-12-11 11:40 ` Dmitry A. Kazakov
2008-12-11 22:15 ` Run-time accessibility checks (was: Construction initialization problem) Randy Brukardt
2008-12-11 22:31 ` Randy Brukardt
2008-12-13 0:49 ` Randy Brukardt
2008-12-13 9:06 ` Run-time accessibility checks Dmitry A. Kazakov
2008-12-16 1:53 ` Randy Brukardt
2008-12-16 9:28 ` Dmitry A. Kazakov
2008-12-16 22:21 ` Randy Brukardt
2008-12-17 8:54 ` Dmitry A. Kazakov
2008-12-12 9:21 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox