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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Wed, 09 May 2018 19:07:37 -0700 Organization: A noiseless patient Spider Message-ID: <87fu30461i.fsf@nightsong.com> References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.com> <87o9i2pkcr.fsf@nightsong.com> <87in88m43h.fsf@nightsong.com> <87efiuope8.fsf@nightsong.com> <322f9b26-01de-4753-bb50-6ef2f3d993d8@googlegroups.com> <87a7th9pd1.fsf@nightsong.com> <87h8no1nli.fsf@nightsong.com> <874ljo1hvy.fsf@nightsong.com> <87vac4z2lh.fsf@nightsong.com> <87lgcszjdn.fsf@nightsong.com> <87r2mk4d6w.fsf@nightsong.com> <1755072199.547602595.806475.laguest-archeia.com@nntp.aioe.org> <87mux84a0m.fsf@nightsong.com> <1943439020.547609462.672207.laguest-archeia.com@nntp.aioe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="8ee8a87c586ad688bbbd7b3afaf6ee4e"; logging-data="4204"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XuiEtf2NroXgEsfAM28bg" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:8Tq2u2HP+v+8uvR6LjiM06R0UdQ= sha1:JAAVADnriWGr/5z1b1bufMKZfDw= Xref: reader02.eternal-september.org comp.lang.ada:52188 Date: 2018-05-09T19:07:37-07:00 List-Id: Luke A. Guest writes: >> One can get philosophical but I wouldn't say they are. > And you’re wrong. Well, that's philosophical, but I think of nested functions and scopes as one of Algol's defining features. Pascal has them, Ada has them, C doesn't have them, C++ didn't have them until C++11 lambdas made it so it sort of half-assedly has them now. >>> I would say Ada’s a much higher level language than C++. > It’s not a flamewar, try the language, you’ll see. Do you have an example? > But Ada’s package system helps here as it’s more robust True. There's a modules proposal for C++ but it is probably a ways out. >>> I still say it has the best data structuring abilities of any language. > As in sizing, alignment and placement. See representation clauses. Sounds like PL/I but Ada seems to be missing decimal representation ;). > I didn’t mention lists. You mentioned compiling the language, I’m talking > about parsing the source which is part of the compilation process. I just mean GNAT is a big system. I had to install 50+ of MB of Debian packages (using 100s of MB of disk) in order to compile the CBSG. By comparison the Picolisp package (picolisp.com) is 825KB and includes a database, GUI app framework, Prolog engine, etc. Of course an Ada compiler could be a lot smaller than GNAT, though probably not as small as this: http://prog21.dadgum.com/116.html > You don’t do this in Ada, because it’s not retarded. Not everything is > an object. Not everything is a function. The trend in C++ is to move away from OOP towards template generics, which are descended from Ada generics. This guy worked on both and the interview is interesting: http://stlport.org/resources/StepanovUSA.html