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:a24:1458:: with SMTP id 85-v6mr3956260itg.55.1524984247430; Sat, 28 Apr 2018 23:44:07 -0700 (PDT) X-Received: by 2002:a9d:2044:: with SMTP id n62-v6mr624996ota.4.1524984246680; Sat, 28 Apr 2018 23:44:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!f63-v6no1397549itc.0!news-out.google.com!b185-v6ni2125itb.0!nntp.google.com!f63-v6no1397548itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 28 Apr 2018 23:44:06 -0700 (PDT) In-Reply-To: <87wowqpowu.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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <16406268-83df-4564-8855-9bd0fe9caac0@googlegroups.com> Subject: Re: How to get Ada to ?cross the chasm?? From: gautier_niouzes@hotmail.com Injection-Date: Sun, 29 Apr 2018 06:44:07 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3187 X-Received-Body-CRC: 3049377829 Xref: reader02.eternal-september.org comp.lang.ada:51774 Date: 2018-04-28T23:44:06-07:00 List-Id: Le dimanche 29 avril 2018 07:22:43 UTC+2, Paul Rubin a =C3=A9crit :=20 > Why write 1M lines of Ada when you can write 1/10th as much code in a HLL= ? You are doing completely wrong assumptions about how you can abstract thing= s in Ada. The fact that Ada covers low-level features doesn't mean it is not a HLL as= well. Actually it is an ALL (Any Level Language) :-) . > Why worry about potential integer overflow every time you do arithmetic?= =20 Precisely, in Ada you worry *less* about those things because there are aut= omatic, built-in ways to detect problems. Of course (as in any language) you need to do some mental calculation for c= hoosing the right integer types. But that's another story.=20 > How much of your effort goes into manual memory management?=20 You are assuming Ada forces you into manual memory management.=20 In Ada you can use most objects on stack (this includes unconstrained types= ); for those that need dynamic resizing you can use Vector's and other cont= ainers using controlled types that do deterministic garbage collection.=20 I do entire applications with UI, data management and number-crunching with= out using any "access", "new" and "Unchecked_Deallocation".=20 > Why not use a language and runtime that handles all that for you=20 > automatically?=20 Sure, it is called Ada 2005, Ada 2012 :-)=20 I'm afraid you are confused about what Ada really is because you don't code= enough in it...=20 _________________________=20 Gautier's Ada programming=20 http://sf.net/users/gdemont/