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 10.129.125.198 with SMTP id y189mr8270635ywc.35.1472817922870; Fri, 02 Sep 2016 05:05:22 -0700 (PDT) X-Received: by 10.157.41.8 with SMTP id d8mr692034otb.17.1472817922834; Fri, 02 Sep 2016 05:05:22 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!m9no19498qte.0!news-out.google.com!b4ni7528iti.0!nntp.google.com!e124no584715ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 2 Sep 2016 05:05:22 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=165.225.80.164; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 165.225.80.164 References: <24d4ffc3-3915-4102-96ae-68d11d881443@googlegroups.com> <2efe4d01-4cd4-4aea-bc54-98ea5f26ec8a@googlegroups.com> <2cf07aa6-9cbb-44bc-8042-601c57c85457@googlegroups.com> <328fa4a3-6215-4101-835a-7eaf7ed72a8c@googlegroups.com> <1d62cc93-324a-4c87-b9d3-67c24cb54c5f@googlegroups.com> <114c0223-e914-4a5c-b533-d1b924895181@googlegroups.com> <9ee99ad0-2fc5-47d3-bd2e-6f418f23a46a@googlegroups.com> <91322cd6-710a-424c-851e-9b5eb013e8a1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Inspirels Ada on cortex tutorial linker issue From: Maciej Sobczak Injection-Date: Fri, 02 Sep 2016 12:05:22 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31689 Date: 2016-09-02T05:05:22-07:00 List-Id: On Friday, September 2, 2016 at 2:36:31 AM UTC+2, Jeffrey R. Carter wrote: > Nor is this an unusual experience. With only a little extra effort, it's = quite=20 > easy to write Ada that is completely portable across compilers from diffe= rent=20 > vendors (for a specific version of the language) and across platforms.=20 And I still don't see how is this Ada-specific. Both Ada and C (or C++) are= defined with such a high level of abstraction, that standard-compliant cod= e will be portable across compilers and platforms. And if you move outside = of the standard (by relying on data representation, for example), the resul= ting mess can be the same. > I've=20 > written quite a bit of it. Then somebody else must have written the Ada code that I can see now, which= is so heavily attached to the hardware (including packing of pointer value= s in record fields of forced sizes) that it is probably easier to rewrite i= t than port to any other target. Language is a tool, you still need good engineering principles to use it pr= operly. --=20 Maciej Sobczak * http://www.inspirel.com