Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

TRANSACTION CANCELLED - FARECARD RETURNED


devel / comp.lang.ada / Re: Unchecked_Deallocation with tagged types

SubjectAuthor
* Re: Unchecked_Deallocation with tagged typesThomas
`- Re: Unchecked_Deallocation with tagged typesNiklas Holsti

1
Re: Unchecked_Deallocation with tagged types

<625cfc61$0$22069$426a34cc@news.free.fr>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6837&group=comp.lang.ada#6837

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp3-2.free.fr!not-for-mail
From: fantome....@free.fr.invalid (Thomas)
Newsgroups: comp.lang.ada
Mail-Copies-To: nobody
Subject: Re: Unchecked_Deallocation with tagged types
References: <607b56f8$0$3721$426a34cc@news.free.fr> <s5gq77$110s$1@gioia.aioe.org> <07863309-4541-4497-8cec-d88179e634bdn@googlegroups.com> <s5gt17$7d0$2@dont-email.me> <s5h167$2f0$1@dont-email.me> <s5h1vv$anq$1@gioia.aioe.org> <s5hic3$nab$1@dont-email.me> <3d6e49b6-f195-4dc2-bf4b-795f18f2da9dn@googlegroups.com> <s5n7va$c83$1@franka.jacob-sparre.dk> <s5naeu$r4c$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Date: Mon, 18 Apr 2022 07:51:29 +0200
Lines: 44
Message-ID: <625cfc61$0$22069$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 18 Apr 2022 07:51:29 CEST
NNTP-Posting-Host: 91.175.52.121
X-Trace: 1650261089 news-4.free.fr 22069 91.175.52.121:6031
X-Complaints-To: abuse@proxad.net
 by: Thomas - Mon, 18 Apr 2022 05:51 UTC

In article <s5naeu$r4c$1@gioia.aioe.org>,
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote:

> On 2021-04-20 20:53, Randy Brukardt wrote:
>
> > OTOH, an Ada
> > follow-on would most likely have access types with automatic deallocation as
> > proposed by Tucker in one of the many AIs on ownership.

who is Tucker, and where can i read him, please? :-)

> > So using any form of
> > explicit deallocation would be discouraged (as would the use of raw pointer
> > types).
>
> I do not understand how that could work, it sounds like a halting
> problem to me,

i feel that:

1)
afaik, non-pool-specific access-to-variable types, which should point on
aliased objects, are not dangerous, as long as neither new nor
Unchecked_Deallocation are used.

2)
pool-specific access-to-variable types should mostly look like
Ada.Containers.Indefinite_Holders.
there is missing one for definite limited types,
and i hope it's possible to also make it for indefinite limited types
(if it's not allowed in Ada, it should be planned for an Ada follow-on).

> but anyway, where is a problem? Add a whole new hierarchy
> of access types independent on the existing one.

anyway, we can begin to think about it, and see later what it should
become.
but if Tucker already begun to think about it, i would prefer read him
before develop my own think, to avoid redo what he already did :-)

--
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/

Re: Unchecked_Deallocation with tagged types

<jc4el8Fi6osU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6838&group=comp.lang.ada#6838

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: niklas.h...@tidorum.invalid (Niklas Holsti)
Newsgroups: comp.lang.ada
Subject: Re: Unchecked_Deallocation with tagged types
Date: Mon, 18 Apr 2022 09:26:47 +0300
Organization: Tidorum Ltd
Lines: 18
Message-ID: <jc4el8Fi6osU1@mid.individual.net>
References: <607b56f8$0$3721$426a34cc@news.free.fr>
<s5gq77$110s$1@gioia.aioe.org>
<07863309-4541-4497-8cec-d88179e634bdn@googlegroups.com>
<s5gt17$7d0$2@dont-email.me> <s5h167$2f0$1@dont-email.me>
<s5h1vv$anq$1@gioia.aioe.org> <s5hic3$nab$1@dont-email.me>
<3d6e49b6-f195-4dc2-bf4b-795f18f2da9dn@googlegroups.com>
<s5n7va$c83$1@franka.jacob-sparre.dk> <s5naeu$r4c$1@gioia.aioe.org>
<625cfc61$0$22069$426a34cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net iNt33piqqdTtl1cK0oQ6YwmsZOKQ+ZYPUSxv8UltRisTKzZ8SU
Cancel-Lock: sha1:aAfu9Ia5tC8LMNANN+Z4WyCaLHQ=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0)
Gecko/20100101 Thunderbird/91.6.2
Content-Language: en-US
In-Reply-To: <625cfc61$0$22069$426a34cc@news.free.fr>
 by: Niklas Holsti - Mon, 18 Apr 2022 06:26 UTC

On 2022-04-18 8:51, Thomas wrote:
> In article <s5naeu$r4c$1@gioia.aioe.org>,
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote:
>
>> On 2021-04-20 20:53, Randy Brukardt wrote:
>>
>>> OTOH, an Ada
>>> follow-on would most likely have access types with automatic deallocation as
>>> proposed by Tucker in one of the many AIs on ownership.
>
> who is Tucker, and where can i read him, please? :-)

He is Tucker Taft, one of the designers and maintainers of the Ada language.

An "AI" is an "Ada Issue", an entry in discussions about Ada features
and the Ada standard. The AIs are collected in a public, searchable
database at http://www.ada-auth.org/ais.html.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor