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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:6e0a:: with SMTP id d10mr15988535ioh.24.1553045324105; Tue, 19 Mar 2019 18:28:44 -0700 (PDT) X-Received: by 2002:a05:6830:14d8:: with SMTP id t24mr3913906otq.303.1553045323928; Tue, 19 Mar 2019 18:28:43 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!i2pn.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!w126no32669ita.0!news-out.google.com!y88ni65ita.0!nntp.google.com!w126no32667ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 Mar 2019 18:28:43 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.109.61.2; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 70.109.61.2 References: <6e1977a5-701e-4b4f-a937-a1b89d9127f0@googlegroups.com> <6f9ea847-2903-48c8-9afc-930201f2765a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <94a74b21-9c35-4f90-90f8-6262cde49e20@googlegroups.com> Subject: Re: Intervention needed? From: Jere Injection-Date: Wed, 20 Mar 2019 01:28:44 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55911 Date: 2019-03-19T18:28:43-07:00 List-Id: On Tuesday, March 19, 2019 at 7:13:47 PM UTC-4, Randy Brukardt wrote: > > Sadly, what I see here is someone who's so bought into Rust hype that they > fail to consider the real trade-offs implicit in such a technology. There's > no reason to bring the basic Rust scheme into Ada, since there is almost no > reason in Ada to create such pointers in the first place (see my reply to > Paul). I'd say the biggest area that forces me to use access types is when dealing with complex limited types. If I want to use any kind of container implementation for a collection of limited types, I am forced to roll my own and generally have to use access types somewhere. Same if I need to use a limited type in non limited context. Ada is generally very good about not requiring them, but there are gaps that could be filled. You would think that a container of limited types would be very restrictive, but with the advent of Implicit_Dereference and reference types, there is definitely some meat there. I would say maps and lists are the two areas I find the most need.