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!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!poup.poupinou.org!news.etla.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Fri, 11 May 2018 16:09:01 -0500 Organization: JSA Research & Innovation Message-ID: References: <87h8no1nli.fsf@nightsong.com> <874ljo1hvy.fsf@nightsong.com> <87vac4z2lh.fsf@nightsong.com> <87lgcszjdn.fsf@nightsong.com> <87sh6z1kkg.fsf@nightsong.com> <87k1sb1dt3.fsf@nightsong.com> <87d0y3ys2g.fsf@nightsong.com> Injection-Date: Fri, 11 May 2018 21:09:01 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="27836"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:52292 Date: 2018-05-11T16:09:01-05:00 List-Id: "Niklas Holsti" wrote in message news:fll3dmF2i4fU1@mid.individual.net... ... > > and everyone uses that scheme today. > > Some do, some don't. Right. Janus/Ada uses a variation of the library scheme (it long predates the GNAT "source-based" design), and the Rational compiler (available these days from PTC) also uses a strong library design. The Intermetrics compiler and its derivitives also use a GNAT-like "source-based" design. But that's virtually irrelevant for a primarily Ada program. Every Ada compiler comes with a make-like tool that builds programs, typically just given the name of the main subprogram and some options. No need in Ada for complex make-files; all of that is required and managed by the language. The original vision for the Janus/Ada eco-system included compilers for other languages (C and assembler at a minimum) that could implement Ada package bodies. That allowed complete interoperation between Ada and C and assembler code, without losing the advantages of Ada's unit management. As a practical matter, though, that mechanism didn't allow direct use of existing C code, and thus the C part was never built. The alternative of bringing the disadvantages of the unstructured C method to Ada never crossed my mind -- that would have been going backwards in terms of ease of program construction. Randy.