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!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Alejandro R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Inspirels Ada on cortex tutorial linker issue Date: Thu, 1 Sep 2016 11:15:35 +0200 Organization: A noiseless patient Spider Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 1 Sep 2016 09:15:35 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="409ea068438c2552e8874a5d710c759d"; logging-data="27802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19L39qYiXmJ/OpawK4E2Igl" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <9ee99ad0-2fc5-47d3-bd2e-6f418f23a46a@googlegroups.com> Cancel-Lock: sha1:HouU1fqtCYaMqgAtZePKeADs4L4= Xref: news.eternal-september.org comp.lang.ada:31673 Date: 2016-09-01T11:15:35+02:00 List-Id: On 31/08/16 14:42, Maciej Sobczak wrote: > On Monday, August 29, 2016 at 11:51:36 PM UTC+2, riea...@comcast.net wrote: >> All in all, much, much better than other languages where moving an application from one compiler to another for the same target can take weeks. > > Sorry, but this argument is as wrong as it is frequently repeated. > If you move Ada to another compiler, you can be sure that your gnatmake will not work anymore. And then it will take weeks to configure the new tool. > > Similarly, I can see people arguing that Ada is more portable than "other languages" (meaning C), because they never move outside of GNAT. If you don't change the compiler, then Ada and "other languages" are similarly portable. There is nothing magic in Ada, it is a single toolchain that people are attached to (for whatever reason), that makes their code kind of portable or stable. I cannot agree with that. The differences an psychological effect of changing toolchains might be the same, but certainly Ada is (or was) more portable in my experience. C/C++ may have come a long way with standardization efforts, but I remember my university times and that was eye-opening. At that time, most deliverables where submitted and tested in some HP UNIX. We of course tried to advance work in our PCs. This would involve at least gnat and meridian compilers. C++ at that time (circa 2000) was nightmarish on its inconsistencies. The first time I took Ada code and it compiled and worked just the same across compilers I realized things could be better. Admittedly, they were not very large projects. I guess C++ is long beyond that point, but at the time it was one of the things in Ada that attracted me. And in the end Ada mandates consistency when using library units. Even meridian did that, even if less easily. So you know that if not gnatmake/gprbuild you should have something else for the same purpose. Even using the same compilers... I would bet on my Ada code from those days being easier to bring up to date to current gccs than my C/C++ one. Ah, how time flies...