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:6202:: with SMTP id d2-v6mr2090263itc.7.1524983340708; Sat, 28 Apr 2018 23:29:00 -0700 (PDT) X-Received: by 2002:a9d:4814:: with SMTP id c20-v6mr624986otf.6.1524983340544; Sat, 28 Apr 2018 23:29:00 -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!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!k65-v6no1393059ita.0!news-out.google.com!b185-v6ni2131itb.0!nntp.google.com!k65-v6no1393058ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 28 Apr 2018 23:29:00 -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: Subject: Re: How to get Ada to ?cross the chasm?? From: gautier_niouzes@hotmail.com Injection-Date: Sun, 29 Apr 2018 06:29:00 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2729 X-Received-Body-CRC: 1599804737 Xref: reader02.eternal-september.org comp.lang.ada:51773 Date: 2018-04-28T23:29:00-07:00 List-Id: Le dimanche 29 avril 2018 07:22:43 UTC+2, Paul Rubin a =C3=A9crit=C2=A0: > Why write 1M lines of Ada when you can write 1/10th as much code in a > HLL? Why worry about potential integer overflow every time you do > arithmetic?=20 Precisely, you worry less because there are automatic, built-in ways to dec= ect problems. Of course (it is in any language) you need to do some mental calculation fo= r choosing the right integer types. That's another story. > How much of your effort goes into manual memory management? You are assuming Ada forces you into manual memory management. 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. I do entire applications with UI, data management & number-crunching withou= t using any "access", "new" and "Unchecked_Deallocation". > Why not use a language and runtime that handles all that for you > automatically? Sure, it is called Ada 2005, Ada 2012 :-) I'm afraid you are confused about what Ada really is because don't code eno= ugh in it...