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: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Why are Ada compilers difficult to write ? Date: Wed, 20 Jun 2018 17:54:21 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <584564c2-9f64-4965-b045-535cdaf899c0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 20 Jun 2018 15:54:21 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="9208684d49f569422575ca4eb3101db2"; logging-data="7981"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZXRPusIssCB3jRmq+OF/wgAWMjrSNGXk=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 Cancel-Lock: sha1:bG8OA6xEYBQlq3T2dnm6tEoL/Zc= In-Reply-To: <584564c2-9f64-4965-b045-535cdaf899c0@googlegroups.com> Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:53207 Date: 2018-06-20T17:54:21+02:00 List-Id: On 06/19/2018 11:33 PM, Vincent wrote: > > I have often heard that Ada compilers where expensive because they are very difficult to write, compared to Pascal or C ones. So my question is : what in the Ada language poses problem to a compiler ? What are the challenges ? Where can I find documentation about that ? Compared to single-file, sequential languages like Pascal or C, Ada has * Packages * Tasks * Protected types and objects * Generics * Tagged types * Interfaces * Discriminants * Elaboration * Finalization * Overloading * Separate compilation with cross-unit checking * Indefinite types and no doubt others I haven't thought of, so hardly any difference at all. -- Jeff Carter "Brave Sir Robin ran away." Monty Python and the Holy Grail 59