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:2c48:: with SMTP id s69-v6mr8538391ios.66.1525159311814; Tue, 01 May 2018 00:21:51 -0700 (PDT) X-Received: by 2002:a9d:73c9:: with SMTP id m9-v6mr1179875otk.9.1525159311712; Tue, 01 May 2018 00:21:51 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.swapon.de!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!k65-v6no2755705ita.0!news-out.google.com!b185-v6ni4341itb.0!nntp.google.com!f63-v6no2750085itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 1 May 2018 00:21:51 -0700 (PDT) In-Reply-To: <87in88m43h.fsf@nightsong.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.87.244.237; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 188.87.244.237 References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.com> <87k1su7nag.fsf@nightsong.com> <87po2la2qt.fsf@nightsong.com> <87in8buttb.fsf@jacob-sparre.dk> <87wowqpowu.fsf@nightsong.com> <16406268-83df-4564-8855-9bd0fe9caac0@googlegroups.com> <87o9i2pkcr.fsf@nightsong.com> <87in88m43h.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How to get Ada to ?cross the chasm?? From: gautier_niouzes@hotmail.com Injection-Date: Tue, 01 May 2018 07:21:51 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:51871 Date: 2018-05-01T00:21:51-07:00 List-Id: Le mardi 1 mai 2018 05:45:08 UTC+2, Paul Rubin a =C3=A9crit=C2=A0: > A cleaner approach imho is immutable data passed by reference (this is > how most of functional programming works). It's not really feasible to > code in that style in Ada, as far as I can tell. Aside from language > issues, I think it's unfeasible without a gc, but maybe I'm wrong. What do you miss with unconstrained types? They don't need gc. Here is an example: https://sourceforge.net/p/cbsg/code/HEAD/tree/corporate_bullshit.adb String is just another unconstrained array type.