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 16:33:11 -0700 Organization: A noiseless patient Spider Message-ID: <87r2mk4d6w.fsf@nightsong.com> References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.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> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="a15f8e13c869a4517dec92123a650d01"; logging-data="17734"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1991qtICUZ3L2aeVTxiVpAf" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:I6CW9ACA9qZqKoGeOpTUtwX2Frs= sha1:fzv8JqqcJ9lVzKdXLWV/3Bj+A+I= Xref: reader02.eternal-september.org comp.lang.ada:52181 Date: 2018-05-09T16:33:11-07:00 List-Id: "Randy Brukardt" writes: >> ... you end up designing a DSL to make such >> templates. That's very easy in Lisp but not so easy in Ada. > > Says you, who seems to have no idea of what the capabilities of Ada really > are or how to use it. Maybe I'm wrong but I see Ada as an Algol/Pascal descended imperative language partway between C and C++ in let's call it "automation level", whose main attractions are 1) much higher safety from type and pointer errors than C or C++ have, and 2) a really serious package and module system to help encapsulate big system components. I've enough C, C++, Pascal etc. in my life to have a sense (at least based on the above) of what to expect from Ada. Solid low-level code is one of those things, ease of writing DSL's is not one ;-). The GNAT environment is a huge resource hog compared to a small Lisp system (Janus might be smaller). The CBSG program takes around 7 seconds to compile and you're proposing running such a compilation on every update, instead of a Lisp read or database operation that would take milliseconds on a system using one of those programs. Again in the CBSG case, that 7 second compilation is probably ok, nobody wants to update it that frequently or deploy it across 1000s of servers. But the approach doesn't generalize. > We made the serious mistake of making allowances in the OOP design for > such people, and that led to several of the worst features of Ada. Well, that was 1995 and the OOP drugs were in the water everywhere then ;-). Things are saner now, I think.