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 Path: border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Heartbleed Date: Fri, 18 Apr 2014 22:31:59 +0200 Organization: Ada @ Home Message-ID: References: <1ljwj8f.1wqbhvuabsdw1N%csampson@inetworld.net> <51c7d6d4-e3be-44d5-a4ce-f7e875345588@googlegroups.com> <%J32v.70539$kp1.45343@fx14.iad> <87tx9so50m.fsf@adaheads.sparre-andersen.dk> NNTP-Posting-Host: pS1zuBJktLXuCf7D12cUvg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.dca.giganews.com comp.lang.ada:185818 Date: 2014-04-18T22:31:59+02:00 List-Id: Le Fri, 18 Apr 2014 20:02:22 +0200, Jeffrey Carter = a =C3=A9crit: > On 04/18/2014 01:48 AM, Simon Clubley wrote: >> >> (2) You have to pay for that compiler and the compilers people can = >> choose >> for alternative languages are free of charge. > > This, I think, I a valid part of the reason for C's dominance: there i= s = > a free C compiler for almost every platform. While there are free Ada = = > compilers for the most common platforms, there are far more platforms = = > without a free Ada compiler than platforms without a free C compiler. That's because an Ada compiler is far more complex to design. This may b= e = another rational for a standard Ada minimal *frozen* *subset* (not a new= = language) without every thing which is finally a derived form of the mos= t = fundamental constructs with additional limitations:=E2=80=AFI would say = keeping = core type definitions (ranges, enumerations, arrays) with discriminated = = record, package and package hierarchy, renaming declarations, C foreign = = interface, a library reduced to unavoidable system interface and memory = = allocation, optional tasking, access types with some cut=E2=80=91off, an= d no more = (no tagged types, no interface types, no DbC, may be no exception = handlers, no generics, =E2=80=A6). This still won't disallow to use SPAR= K (or = other formal systems) with it ;-) . As a summary, core type systems, package hierarchy, renaming, basic syst= em = interface. Would already be a lot of added value compared to C. Any stupidities in this message may be forgiven, I wrote this straight = away as it came to my mind (red=E2=80=91face). -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity